TComboExItems class
Implements a collection for the items added to TCustomComboBoxEx.
Declaration
TComboExItems = class(TListControlItems)Inheritance
Description
TComboExItems is a
TListControlItems descendant which
Implements a collection for the items added to
TCustomComboBoxEx
and
TComboBoxEx. TComboExItems extends the ancestor class to use
the
TComboExItem type for items added to the collection.
Reimplemented methods are provided to add, insert, and retrieve collection
items using the ItemClass required for the collection. An
AddItem
method is introduced to create a new collection item and configure its
property values. The
Notify and
Update methods are
overridden to use the correct ItemClass as well.
TComboExItems is the type used to implement the ItemsEx property
in TCustomComboBoxEx.
See also
Properties
ComboItems | public | Provides indexed access to the items in the collection. |
Methods
Notify | protected | Performs component notifications when a collection item is added to or removed from the Collection. |
Update | protected | Updates the collection when the specified item has been changed. |
Add | public | Adds a new item to the collection. |
AddItem | public | Adds a new item with the specified values to the collection. |
Insert | public | Inserts a collection item at the specified position in the collection. |
Fields
FAddingOrDeletingItem | protected | Tracks the add or delete status for the collection. |
Inherited
From TListControlItems (9)
CaseSensitive CompareItems CustomSort DoCustomSort DoOnCompare Items OnCompare Sort SortType
From TCollection (24)
Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath ItemClass Move Owner PropName SetItem SetItemName SetPropName UpdateCount
From TPersistent (5)
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.
