TListControlItems class
Container for the items added to a list control.
Declaration
TListControlItems = class(TOwnedCollection)Inheritance
- TListControlItems
- TOwnedCollection
- TCollection
- TPersistent
- TObject
Descends from it: TComboExItems
Description
TListControlItems is a
TOwnedCollection descendant
which implements a container for items added to a list control.
TListControlItems extends the ancestor class to provides case sensitivity
when comparing Items in the collection, sort types, and custom sorting using
an event handler.
TListControlItems is the ancestor for the TComboExItems collection
class.
See also
Properties
Items | public | Provides indexed access to the list of items maintained in the collection. |
CaseSensitive | published | Indicates if case sensitivity is used when comparing items in the collection. |
SortType | published | Determines the comparison mechanism used for collection items in the Sort method. |
Methods
CompareItems | protected | Implements a comparison function for items in the collection. |
DoCustomSort | protected | Performs the comparison for the CustomSort method. |
DoOnCompare | protected | Signals the OnCompare event handler to compare items in the collection. |
Update | protected | Performs a notification when an item in the collection has been changed. |
Add | public | Adds a new item to the collection. |
CustomSort | public | Performs a custom sort using the specified routine. |
Sort | public | Performs the Sort routine required for the setting in SortType. |
Events
OnCompare | published | Event handler signalled to sort the collection using the data in the collection items. |
Inherited
From TCollection (26)
Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify 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.
