Resize Stack Sent Everytime a Stack Opens?
brian at milby7.com
Fri May 10 10:18:58 EDT 2019
What fullScreenMode are you in when the stack opens? What mode when the rotation happens?
On May 10, 2019, 10:08 AM -0400, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com>, wrote:
> I put a "breakpoint" into
> On resizestack x,y,
> [snip code]
> End resize stack
> At least on Android, this being called every time the stack opens.
> But it doesn't mention that in the dictionary
> If you turn for phone sideways (to "landscape") it is not called.
> Even though this is in the dictionary (which implies that it is called)
> The orientationChanged message is sent before any automatic interface
> rotation takes place thus changes to the orientation lock state and
> allowed set can be made at this point and still have an effect. If you
> wish to perform an action after the interface has been rotated, then
> either do so on receipt of resizeStack or by using a <send|send in 0
> milliseconds(command)> command..
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode