Page 1 of 1
go to stack URL
Posted: Wed Aug 25, 2010 4:04 am
by gwbasic
Did this:
go to stack URL field f_url
works fine in the IDE but does not work anymore in stand alone (Win XP).
Has anyone experienced this? Am I issing something here?
Re: go to stack URL
Posted: Wed Aug 25, 2010 5:35 am
by gwbasic
After further testing I made a correction by put quotes around the field name. Some of the rev app on the web server doesn't really work when launched from web.
I wanted to show a message using a label l_wait "Loading application".
on OpenStack
set the visible of field "l_wait" of card "card_main" to false
end OpenStack
on mouseUp
--go to stack URL "
http://localhost/test.rev" in the window of this stack
set the visible of field "l_wait" of card "card_main" to true
go to stack URL field "f_url" --in the window of this stack
set the visible of field "l_wait" of card "card_main" to false
end mouseUp
The "Loading application" shows up but doesn't go away anymore. What am I missing here?
Re: go to stack URL
Posted: Sat Aug 28, 2010 1:16 pm
by Klaus
Hi gw,
Code: Select all
...
go to stack URL field "f_url"
## Here you change "the defaultstack"...
set the visible of field "l_wait" of card "card_main" to false
## ... so this button is not found and you would get an error in the IDE!
...
Just add the stackname to this line and it should work!
Code: Select all
...
set the visible of field "l_wait" of card "card_main" OF STACK "the stack with this script in it" to false
...
Best
Klaus