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