On 2015-05-10 14:44, [email protected] wrote:
OK  - but widgets that scale as you stretch them (as do all the
widgets I create in LiveCode) need to dynamicaly resize by script and
that is done in the OnPaint() handler?

I would usually try to do this in the OnGeometryChanged() handler if possible.

But if the calculations are simple, doing them in OnPaint() shouldn't usually cause any noticeable slowdown.

                                 Peter

--
Dr Peter Brett <[email protected]>
LiveCode Engine Development Team


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to