| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jul 14, 2003 2:26 pm Post subject: BROWSER SET Problem |
|
|
What am I doing wrong, this doesn't work anymore.
I get "Missing Parameter to Command" when I try to set the URL.
| Code: | Title Search
external vdsbrw50.dll
#DEFINE COMMAND,BROWSER
#DEFINE FUNCTION,BROWSER
DIALOG CREATE,Search,-1,0,441,241
DIALOG ADD,TEXT,SearchQ,12,14,,,Search Query:
DIALOG ADD,EDIT,keywords,28,14,379,19
DIALOG ADD,BROWSER,BROWSER1,51,14,412,173,"about:Enter your search query above"
DIALOG ADD,BUTTON,Go,28,397,30,19,Go,,DEFAULT
DIALOG SHOW
:Evloop
wait event
goto @event()
:GoBUTTON
browser set,browser1,http://www.google.com/search?q=@dlgtext(keywords)
goto evloop
:Close
exit |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jul 14, 2003 2:47 pm Post subject: |
|
|
Well just for anybody who is wondering, you have to use DIALOG SET,
only use BROWSER for things like BROWSER BACK,BROWSER1, etc. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Jul 14, 2003 3:21 pm Post subject: |
|
|
I was bout to post that  _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jul 14, 2003 3:34 pm Post subject: |
|
|
It's kind of confusing though because there are two commands, it would
be better if it was BROWSER SETPOS and BROWSER SET and BROWSER
BACK, etc. instead of having to remember which it is.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Jul 14, 2003 3:55 pm Post subject: |
|
|
An example of simple syntax of VDS
take it lightly.
I really appreciate the VDS language _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Mon Jul 14, 2003 3:55 pm Post subject: |
|
|
I personally prefer the new way, so that all generic dialog element command go
through the DIALOG command. I would do the same for my DLLs that contain new
dialog elements, but this seems to be a new feature in the VDS 5 DLL SDK which
Commercial Research doesn't want to reveal yet... |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Jul 14, 2003 3:58 pm Post subject: |
|
|
I agree that this introduces a kind of consistency.  _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jul 14, 2003 3:59 pm Post subject: |
|
|
I suppose once I practice that way a little more it would be much more
helpful.
I also noticed that in the dialog designer there is a "vdsbrw50" tab, it looks
like DLL authors may be able to add config files to use their elements right
in the dialog designer.
Look in the \Visual DialogScript 5\dlls\vdsbrw50 path for more info. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|