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 DirectionParameter NameDescription
    InputitemThe item to be added to the drop-down list.