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

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
colourpixels
Posts: 83
Joined: Mon Oct 31, 2011 5:28 am

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

Post by colourpixels » Fri Feb 24, 2012 4:21 am

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?

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

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

Post by Jellicle » Fri Feb 24, 2012 4:22 am

Can we see your code?

g
14" MacBook Pro
Former LiveCode developer.
Now recovering.

colourpixels
Posts: 83
Joined: Mon Oct 31, 2011 5:28 am

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

Post by colourpixels » Fri Feb 24, 2012 7:55 am

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

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

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

Post by Jellicle » Fri Feb 24, 2012 8:27 am

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
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Post Reply