Sign in Join
FPDoc Onlineexperiment

TListControlItems class

In unit ComboEx

Container for the items added to a list control.

Declaration

pascal
TListControlItems = class(TOwnedCollection)

Inheritance

  1. TListControlItems
  2. TOwnedCollection
  3. TCollection
  4. TPersistent
  5. 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

ItemspublicProvides indexed access to the list of items maintained in the collection.
CaseSensitivepublishedIndicates if case sensitivity is used when comparing items in the collection.
SortTypepublishedDetermines the comparison mechanism used for collection items in the Sort method.

Methods

CompareItemsprotectedImplements a comparison function for items in the collection.
DoCustomSortprotectedPerforms the comparison for the CustomSort method.
DoOnCompareprotectedSignals the OnCompare event handler to compare items in the collection.
UpdateprotectedPerforms a notification when an item in the collection has been changed.
AddpublicAdds a new item to the collection.
CustomSortpublicPerforms a custom sort using the specified routine.
SortpublicPerforms the Sort routine required for the setting in SortType.

Events

OnComparepublishedEvent handler signalled to sort the collection using the data in the collection items.

Inherited

From TOwnedCollection (2)

Create GetOwner

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.