Page 1 of 1

hiding a mobgui browser then showing again...browser no show

Posted: Fri Feb 24, 2012 4:21 am
by colourpixels
hiding a mobgui browser then showing again...the browser is no show on the return, just seems to disappear altogether. Tried setting the loc offscreen then back onscreen and even that seems to make the browser disappear permanently. Is this just the way it is or am I doing something really wrong?

Re: hiding a mobgui browser then showing again...browser no

Posted: Fri Feb 24, 2012 4:22 am
by Jellicle
Can we see your code?

g

Re: hiding a mobgui browser then showing again...browser no

Posted: Fri Feb 24, 2012 7:55 am
by colourpixels
I've since removed it but I think it was:
on opencard
set the visible of control ID 1297 to false
end opencard
I tried all sorts of variations on that too like hide gBrowserA["BrowserFIT"], then to show I used set the visible of control ID 1297 to true

Re: hiding a mobgui browser then showing again...browser no

Posted: Fri Feb 24, 2012 8:27 am
by Jellicle
Try

Code: Select all

iPhoneControlSet  gBrowserA["BrowserFIT"],visible,false

And make sure you've declared gBrowserA as a global variable in all scripts that reference this control.

Gerry