Livecode Builder Widgets: basic question

Peter TB Brett peter.brett at livecode.com
Sun May 10 10:04:51 EDT 2015


On 2015-05-10 14:44, david.bovill at gmail.com 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 <peter.brett at livecode.com>
LiveCode Engine Development Team





More information about the use-livecode mailing list