| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 06, 2004 8:07 am Post subject: browser element error |
|
|
hi,
i'm having continuous intermittent problem with the following code
| Code: | DIALOG CREATE,%%title - About...,-1,0,540,475,NOSYS,ONTOP
wait 1
DIALOG ADD,BROWSER,BROWSER1,10,5,530,420,
dialog set, browser1, %%popup_file
DIALOG ADD,BUTTON,child_ok,440,225,110,30,OK
DIALOG SHOWMODAL
|
the error i get is number 14..."Invalid parameter to command" at the line where i add the browser element...any idea why?
i added the wait 1 command hoping that giving it some time would stop the problem but to no avail
thanks in advance
serge _________________
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Apr 06, 2004 10:25 am Post subject: |
|
|
An error 14 can only occur here if the second parameter isn't BROWSER or the third isn't a valid name, or is a valid name but it already exists. It could also occur if you hadn't loaded the browser extension in the first place. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 06, 2004 1:55 pm Post subject: |
|
|
thanks for your input jules...i thought of changing the code to the following and so far so good
| Code: | DIALOG CREATE,%%title - About...,-1,0,540,475,NOSYS,ONTOP
wait 1
DIALOG ADD,BROWSER,BROWSER1,10,5,530,420,%%popup_file
DIALOG ADD,BUTTON,child_ok,440,225,110,30,OK
DIALOG SHOWMODAL |
time of course will tell whether this will work or not
serge _________________
|
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 06, 2004 7:17 pm Post subject: |
|
|
I had the same problem before, try replacing the below:
child_ok
with
childok |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Wed Apr 07, 2004 12:09 am Post subject: |
|
|
ok, vtol....i will give it a go...thanks for letting me know
serge _________________
|
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Apr 07, 2004 12:15 am Post subject: |
|
|
I'd say good luck, but thats something I know nothing about
I hope that does it for you... |
|
| 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
|
|