how to create a Custom Control

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Apr 28 11:07:55 EDT 2016


Kevin: “Use them [widgets] only when really needed”

 Ok that makes good sense that as a strategy




On 4/27/16, 10:41 AM, "use-livecode on behalf of Richard Gaskin" <use-livecode-bounces at lists.runrev.com on behalf of ambassador at fourthworld.com> wrote:

>They're 
>easy enough to make in LC Script that the benefit of doing so is a 
>non-brainer.  For ad hoc gadgets, like anything else in LC Script 
>they're a breeze to make.

So your script can do things like

Set the style of the templateGraphic to rectangle
# more statements like this… then:
Create graphic “portalButtonbkgnd”

Set the style of the templatefield to #whatever
# more statements like this… then:
Create field “portalLinkLabel”

Hmmm I could have sworn this worked years ago:

put the keys of templatefield


But it doesn’t today… how to you see all the props for the template?



More information about the use-livecode mailing list