Skip to main content

TcxListBox Class

A list box style edit control.

Declaration

TcxListBox = class(
    TcxCustomListBox
)

Remarks

The list box control represents a scrollable list of items (strings). This control uses the standard list box control (TListBox) to implement most of its functionality. Thus, most properties, methods and events of the TcxListBox control are identical to those of the TListBox control.

The following basic features are available in the list box control:

  • Displaying, sorting, selecting items within the list;

  • Moving and copying items to another list control;

  • Arranging items into several columns;

  • Painting items in a custom manner and assigning custom height to each individual item;

  • Working in virtual mode – item captions and data are supplied using event handlers.

The TcxListBox control also introduces the style properties (the Style, StyleDisabled, StyleFocused and StyleHot) that enables you to control the look & feel of the list box control in the same manner as other editors supplied with the ExpressQuantumGrid.

See Also