When is open stack sent on Mobile

J. Landman Gay jacque at hyperactivesw.com
Thu Jul 28 21:05:15 CEST 2016

On 7/28/2016 12:46 PM, Sannyasin Brahmanathaswami wrote:
> switching from landscape to portrait -- similarly one must re-set up
> the UI explicitly and typically the old way of doing such would be in
> a preopen or open stack handlers… again, these need to fire when
> moving back and forth. Just this morning I successfully was able to
> go from a stack in portrait orientation lock to portrait, portrait
> upside down to a landscape stack, lock to landscape right, left… and
> back again…  but it required specifically setting the rect of the
> stack to 0,0,414,716 in a preopen stack handler

Yeah, what Richard said. Use resizeStack to reset the UI. I think 
specifically setting the rect of the stack may cause issues when you run 
on Android where window sizes are all over the place.

I'd let the engine manage the stack size by using the fullScreenMode 
property, and set up all your objects using relative coords rather than 
hard-coded ones.

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the use-livecode mailing list