Page 1 of 1

Suspend UIScrollView behavior when new stack opened on top?

Posted: Sun Apr 17, 2011 11:05 am
by ctflatt
I am working on a new project and have hit a snag.

In the main stack I am generating a UIScrollView of clickable text, which opens a new stack on top of the main.

Once the new stack opens, the UIScrollView of the main stack is still active, though not visible. The scrollbars still function (and control) the scrollable content in the main stack. This is not good, as the user could change the location of the scrollable content in the main stack accidentally.

I don't want to close the main stack card to delete the control if I don't have to.

Is there a way to disable/suspend the UIScrollView control of the main stack while there is a new stack open above it?

Many thanks,

Todd

Re: Suspend UIScrollView behavior when new stack opened on top?

Posted: Sun Apr 17, 2011 11:26 am
by Klaus
Hi Todd,

can't you set the "visislbe" property of the UIScrollView to false when opening the new stack?
Maybe that will work for you?


Best

Klaus

Re: Suspend UIScrollView behavior when new stack opened on top?

Posted: Mon Apr 18, 2011 11:29 pm
by ctflatt
Klaus:

Thanks!

I've since gone to a single stack, but will keep that in mind. Forgot that "visible" to false disables the control.

Have a great week.

:Todd

Re: Suspend UIScrollView behavior when new stack opened on t

Posted: Tue Dec 24, 2013 11:57 pm
by mattrgs
Hi
what would be the code to set the scroller to invisible if using the mobilecontrolset scroller?
Thanks
Matthew

Re: Suspend UIScrollView behavior when new stack opened on t

Posted: Wed Dec 25, 2013 1:40 am
by Simon
mobileControlSet "tControl", "visible", false

Simon