F > FCheckBox.setEnabled |
![]() ![]() ![]() |
FCheckBox.setEnabled
Availability
Flash Player 6.
Usage
myCheckBox
.setEnabled(
enable
)
Parameters
enable
A Boolean value specifying whether the check box is enabled (true
) or disabled (false
).
Returns
Nothing.
Description
Method; specifies whether the check box is enabled (true
) or disabled (false
). If a check box is disabled, it does not accept mouse or keyboard interaction from the user. If you omit this parameter, the method defaults to true
.
Example
The following code disables checkBox1
.
checkBox1
.setEnabled(false);
![]() ![]() ![]() |