Mobile Resizestack handler possible bug
Ralph DiMola
rdimola at evergreeninfo.net
Thu Nov 19 16:45:46 EST 2015
True, It is only called once whenever the orientation is changed. But I call
the same routine to place the controls on the card from both the preopencard
message and the resizestack message. Network connectivity determines the
visible buttons on the card. That is why it's in there. I moved the
connectivity test into the preopencard handler and set a custom property.
Problem solved, but I will make a test stack for a QCC report because it
work on Android.
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Richard Gaskin
Sent: Thursday, November 19, 2015 4:32 PM
To: use-livecode at lists.runrev.com
Subject: Re: Mobile Resizestack handler possible bug
David Bovill wrote:
> Resize handlers are called repeatedly with every fraction of a move -
> if you out slow code inside them (like fetching a blocking url) then
> it jams up.
While I would also put net access calls in something other than a
resizeStack message, on a mobile device isn't resizeStack only called once
on startup and only once again whenever the orientation is changed?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list