Sign in Join
FPDoc Onlineexperiment

TComboExItem class

In unit ComboEx

Implements an extended item used in TComboEx.

Declaration

pascal
TComboExItem = class(TListControlItem)

Inheritance

  1. TComboExItem
  2. TListControlItem
  3. TCollectionItem
  4. TPersistent
  5. TObject

Description

TComboExItem is a TListControlItem descendant which implements an extended item used in TComboEx. TComboExItem extends the ancestor class to include the following properties for the extended item:

  • Indent
  • OverlayImageIndex
  • SelectedImageIndex

TComboExItem is the type maintained in the TComboExItems collection used to implement the ItemsEx property in TCustomComboBoxEx and TComboBoxEx.

See also

Properties

IndentpublishedSpace reserved between the Image and the caption for the item.
OverlayImageIndexpublishedOrdinal position for the image drawn as an overlay for the Image in the combo-box item.
SelectedImageIndexpublishedOrdinal position for the image drawn when the item is selected in the Combo-Box.

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.

Types and constants

cDefCaptionprotectedDefault caption used for a new item.

Inherited

From TListControlItem (3)

Caption Data ImageIndex

From TCollectionItem (11)

Changed Collection DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.