API:Vcl.StdCtrls.TCustomListBox
Delphi
TCustomListBox = class(TCustomMultiSelectListControl)
C++
class PASCALIMPLEMENTATION TCustomListBox : public Vcl::Controls::TCustomMultiSelectListControl
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | Vcl.StdCtrls |
Description
TCustomMultiSelectListControl is the base class for list controls that allow multiple items to be selected.
Vcl.StdCtrls.TCustomListBox inherits from Vcl.Controls.TCustomMultiSelectListControl. All content below this line refers to Vcl.Controls.TCustomMultiSelectListControl.
TCustomMultiSelectListControl is the base class for list controls that allow multiple items to be selected.
TCustomMultiSelectListControl is the common base class for controls that represent a list of items where the user can select one or more of those items. Its descendants include list boxes and list views. TCustomMultiSelectListControl implements a common set of properties and methods for working with the items in the list. This includes the ability to:
- Specify whether the control allows one or multiple items to be selected.
- Determine the number of selected items.
- Add items to the list.
- Delete items from the list.
- Select items in the list.
- Copy items to another list control.
- Rearrange the order of items.
TCustomMultiSelectListControl is an abstract class and cannot be directly instantiated.