API:FMX.Colors.TColorListBox
Delphi
TColorListBox = class(TCustomListBox)
C++
class PASCALIMPLEMENTATION TColorListBox : public Fmx::Listbox::TCustomListBox
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Colors.pas FMX.Colors.hpp |
FMX.Colors | FMX.Colors |
Description
A TCustomListBox is the base class for list box components.
FMX.Colors.TColorListBox inherits from FMX.ListBox.TCustomListBox. All content below this line refers to FMX.ListBox.TCustomListBox.
A TCustomListBox is the base class for list box components.
Inherits from TCustomListBox to create a control that represents a specialized list box.
List Box Events
TCustomListBox has events that are generic to the list box control, and other events that are specific to the items:
- Events that are generic to the list box control: Events such as OnClick, OnDblClick, OnEnter, and OnMouseDown are inherited events, and they refer to the event that occurs in the list box control.
- Events that are specific to the items of the list box: Events such as OnItemClick, OnChange, OnChangeCheck, OnCompare, and OnDragChange are specific to the list box item, and they refer to events that occur in the items of the list box.
Therefore it is important to see, for example, the difference between OnClick that occurs when the list box is clicked, and OnItemClick that occurs when a list box item is clicked.
See the full list of TCustomListBox events in FMX.ListBox.TCustomListBox_Events.
See Also