disable
info
This Widget Control is common to every widget. In the examples below, widgetID is the name (ID) you assigned to the widget on the canvas, and in scripts you access members as widgetID.member.
Whether the widget is disabled. Set it to true to disable the widget and apply the default dimming (opacity) effect. It supports both reads and writes, and defaults to enabled (false).
- Type:
boolean - Access: Read / write
Example
btnID.disable = true;
warning
Always control the disabled state with this disable property. setLayoutProperty("disable", ...) has no effect.
@@DETAILS@@