forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


BROWSER SET Problem

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 14, 2003 2:26 pm    Post subject: BROWSER SET Problem Reply with quote

What am I doing wrong, this doesn't work anymore. Confused
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
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 14, 2003 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Jul 14, 2003 3:21 pm    Post subject: Reply with quote

I was bout to post that Laughing
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 14, 2003 3:34 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Jul 14, 2003 3:55 pm    Post subject: Reply with quote

An example of simple syntax of VDS Wink
take it lightly.
I really appreciate the VDS language

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Mon Jul 14, 2003 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Jul 14, 2003 3:58 pm    Post subject: Reply with quote

I agree that this introduces a kind of consistency. Yes
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 14, 2003 3:59 pm    Post subject: Reply with quote

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. Smile

Look in the \Visual DialogScript 5\dlls\vdsbrw50 path for more info.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group