Widget User Defined Properties

Brian Milby brian at milby7.com
Sat Apr 7 18:43:32 EDT 2018


Take a look at the code for the switchbutton. It does use
backgroundcolor/hilitecolor/bordercolor but does not define a variable or
handler to get/set.
On Sat, Apr 7, 2018 at 5:58 PM Ralph DiMola via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I created a property called backgroundColor in a widget on the Colors pane
> figuring that it would be nice to have the LCS editor color it. Opened up
> the property inspector of the widget and it's there. The first time I
> change the property via script the property inspector the Colors pane gets
> completely whacked out. The other panes are OK. I changed the name of the
> property to backgroundColorUp and everything was OK. Is there a limitation
> that user defined widget properties can't be the name of any existing
> "built in" LCS recognized property?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> _______________________________________________
> 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