![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
myComboBox
.labelField
Property; the name of the field in dataProvider array objects to use as the label field. This is a property of the List component that is available from a ComboBox component instance. For more information, see List.labelField
.
The default value is undefined.
The following example sets the dataProvider
property to an array of strings and sets the labelField
property to indicate that the name
field should be used as the label for the drop-down list:
myComboBox.dataProvider = [ {name:"Gary", gender:"male"}, {name:"Susan", gender:"female"} ]; myComboBox.labelField = "name";
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |