Trevor DeVore lists at
Thu Feb 25 19:45:38 EST 2016

On Thursday, February 25, 2016, Terence Heaford <t.heaford at
<javascript:_e(%7B%7D,'cvml','t.heaford at');>> wrote:

> > On 25 Feb 2016, at 14:30, Trevor DeVore <lists at>
> wrote:
> >
> > I don't think this is the case. Widgets provide (or at least will
> provide)
> > an excellent platform for building out a custom control like a Widget.
> I am not sure precisely how Livecode builder works in comparison to the
> live code script engine but
> I assume they both compile to byte code.

 While how the code compiles is interesting, the more interesting part to
me is how widgets are rendered. A widget has an OnPaint event where you
specify what should be drawn in the widgets rectangle. You draw lines,
text, etc. using LCB drawing code. You only draw exactly what you
need. This is much more efficient than the engine rendering a lot of field
objects nested within multiple groups.

Trevor DeVore

More information about the use-livecode mailing list