From Appmethod Libraries
Jump to: navigation, search


Object Pascal

TCustomListBox = class(TScrollBox, IItemsContainer, IInflatableContent<TListBoxItem>, ISearchResponder, IGlyph)


class PASCALIMPLEMENTATION TCustomListBox : public Fmx::Layouts::TScrollBox


Type Visibility Source Unit Parent
class public
FMX.ListBox FMX.ListBox


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.

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