Click or drag to resize

ComboBoxEx Class

X#
Encapsulate a ComboBoxEx control.
Inheritance Hierarchy
Object
  VObject
    Control
      TextControl
        BaseListBox
          ListBox
            ComboBox
              ComboBoxEx

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS ComboBoxEx INHERIT ComboBox
Request Example View Source

The ComboBoxEx type exposes the following members.

Constructors
  NameDescription
Public methodComboBoxEx
Instantiate a new ComboBoxEx object.
Top
Properties
  NameDescription
Public propertyImageList
The ImageList object containing the images for the items in the ComboBoxEx object.
Public propertyLength
The length of the current text. Overrides the Length property of its parent class to provide the same functionality in this specialized class.
(Overrides Length.)
Top
Methods
  NameDescription
Public methodAddItem
Add a new item to the ComboBoxEx object.
Public methodDeleteItem
Remove an item from the ComboBox object.
(Overrides DeleteItem(Usual).)
Public methodDestroy
Provide a method to de-instantiate a BaseListBox object.
(Overrides Destroy.)
Public methodDispatch
Provide the prototype dispatcher for events within the system when the control has focus; routing various events to their appropriate event handlers.

(Overrides Dispatch(Usual).)
Top
Remarks
A ComboBoxEx control is a ComboBox control with two extensions. Firstly, each item in the list is able to display an image beside it. This is achieved with the use of an ImageList object that is assigned to the control. It is also able to overlay a second image when the item is selected. Both images are specified when the item is added to the control. Secondly, unlike the normal ComboBox control, a ComboBoxEx control is not restricted inside of the frame of its owner but, can pass over the frame and into the surrounding area so as to display its list of entries in the drop-down box.
See Also

Reference