ComboBoxEdit
The ComboBoxEdit represents a drop-down list from which users can select the desired list entry.
Properties
- Editor: Provides read-only access to the underlying editor control this class manages.
- Enabled:Â A boolean value representing whether or not the control is enabled. Disable controls still display on the form but do not react to any user actions.
- FieldName:Â A string representing the name of the field. This can be used for retrieving the control.
- Focused:Â A boolean value representing whether or not this field currently has input focus. Setting this value to true will focus the control.
- Label:Â A string representing the label that should be displayed beside the field on the form.
- LabelVisible:Â A boolean value representing whether or not the label should be displayed.
- ReadOnly:Â A boolean value representing whether or not the control can be edited.
- TypeName:Â A string representing the full name of the control type.
- Value:Â The value of the currently selected item in the drop-down list.
Methods
- Focus():Â This method causes input focus to be given to the control. Calling this function behaves the same as setting the control's Focused value to true.
AddItem(object item):Â Adds the specified object to the drop down list.
Parameter Direction Parameter Name Description Input item The item to be added to the drop-down list.