IToolbarComboBox

Description

The IToolbarComboBox interface contains properties and methods of the combobox placed on the toolbar.

Properties

  Property name Brief description
The BeginGroup property enables the user to separate the groups of components on the toolbar visually by a vertical line.
The DropDownCount property determines the maximum number of elements displayed simultaneously in the opened list of the component.
The DroppedDown property returns whether the combobox is expanded.
The Enabled property determines whether a component is available for the user.
The Hint property determines a text of the tooltip that is displayed when the mouse cursor hovers over the combobox in the toolbar during form execution.
The ItemCount property returns the number of elements in the combobox.
The ItemHeight property returns the height of elements in the combobox.
The ItemIndex property determines index of the element in the list that is selected and displayed in the edit line of the list.
The Items property determines a collection of elements of the combobox.
The MaxLength property determines the maximum length of the text that is entered by the user.
The SelLength property determines the number of selected characters in the line of the combobox.
The SelStart property determines a position of the first selected character in the text of the combobox.
The SelText property determines the text selected in the component.
The Sorted property determines whether the elements of the combobox is sorted automatically in alphabetical order.
The Style property determines a style of combobox work.
The Text property determines the line that is displayed in the edit box before the element is selected in the drop-down list.
The Toolbar property returns the ToolBar parent component.
The Visible property determines whether the combobox is visible during form execution.
The Width property determines width of the component in pixels.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

Methods

  Method name Brief description
The ClearEdit method clears the edit line of the combobox.
The SelectAll method selects text in the edit line.

See also:

Forms Assembly Interfaces