WidgetEnabledProperty

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the enabled of <mWidget>
Associationscom.livecode.widget
Summary

Manipulates the enabled property of a child widget

Parameters
NameTypeDescription
mWidget

The child widget object

Example
private variable mChild as Widget

public handler OnCreate() returns nothing
    put a new widget "com.livecode.widget.button" into mChild
    place mChild
    -- mChild is initially disabled
    set the enabled of mChild to false
end handler
RelatedExpression: MyDisabled
Description

Use the enabled property to control the disabled/enabled state of child widgets. The child widget can change its appearance and behavior based on the result of the 'my enabled' expression.

Tagswidget