hi all,
I have two mobgui IOS text input controls for username and password in my app. Rather than have them on a seperate card, I just want to invis them on opencard event, then show them as needed. Unfortunately the code doesn't seem to be working from there, although it works fine subsequently when called from a button click:
iphoneControlSet gInputA["txtUsername"], "visible", pVisible
iphoneControlSet gInputA["txtPassword"], "visible", pVisible
if not from open card (pre-open also a no go), is there anywhere else I could invis them?
My other option is to create the controls on the fly instead of just using visibility, but it would have been nice to be able to position them using the gui.
Thanks for any help, greatly appreciated.
Cheers
note:livecode 5.5.5, ipad app
Dale
mobgui input fields won't invis in opencard
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 83
- Joined: Mon Oct 31, 2011 5:28 am
-
- Posts: 83
- Joined: Mon Oct 31, 2011 5:28 am
Re: mobgui input fields won't invis in opencard
solution is to deselect the visible checkbox on the mobgui properties window. Looks like that field gets applied somewhere after the load event. Is it possible to get in a see exactly what MobGUI is doing code wise to tweak behaviors like this?