TIWComboBox

TIWComboBox

The TIWComboBox is the IntraWeb equivalent of the TComboBox from VCL.

TComboBox = class(TIWCustomControl)

Properties

property BGColor: TIWColor

Use this property to set the background color of the control.

property ButtonColor: TIWColor

Use this property to set the dropdown button color of the control when the Stype property is stEnhanced.

property ButtonImage: TIWFileReference

Use this property to set an image the dropdown button color of the control when the Stype property is stEnhanced.

property Editable: boolean;

Use this property to indicate if the control will be Editable or read-only.

property ItemIndex: Integer;

Use this property to read/write the index of the selected item in the Control.

property Items: TStrings;

Use this property to read/write to the list of items (strings) in the list portion of the control.

property ItemsHasValues: Boolean;

Use this property to indicate you are using a Name=Value pair in the Items property

property NonEditableAsLabel: Boolean

When this property is True and the Editable property is False, the control is rendered using a TIWLabel.

property NoSelectionText: string

Use this property to change the text that is shown when no item is selected in the Control.

property Sorted: Boolean

Use this property to sort the items list alphabetically

property Style: TIWCustomComboBoxStyle

Use this property to change the control Style to stNormal or stEnhanced

Events

property OnChange;

This event is triggered when the user changes the control’s content. This event forces the full page to be rendered, ie, it is a full submit event.