> On 20 Aug 2018, at 10:53 am, Richard Gaskin via use-livecode > <use-livecode@lists.runrev.com> wrote: > > As long as both messages are sent it may not matter, but that's the thing I'm > unclear on: what does orientationChanged tell us on a mobile device that > resizeStack doesn't? When is one sent without the other sent immediately > after?
When you have a fullscreenMode set then the stack doesn’t resize unless you either explicitly set the rect or (since 8.1.10) use mobileSetFullScreenRectForOrientations to specify a different rect for the orientation you are moving to. If the stack does not resize then it does not get sent a resizeStack message. Also the stack is sent orientationChanged regardless of the state of allowed orientations so if it’s not an allowed orientation then there may be no change and therefore no resizeStack. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode