Sign in Join
FPDoc Onlineexperiment

TComboExItems.Add function

Member of TComboExItemspublicIn unit ComboEx

Adds a new item to the collection.

Declaration

pascal
function Add: TComboExItem

Function result

Item added to the collection.

Description

Add is a TComboExItem function used to add a new item to the collection. Add reimplements the method in TListControlItems to use the type required for the derived collection. The return value contains the TComboExItem instance allocated in the method. The current class instance is used as the Owner of the collection item. Add is used in the implementation of the AddItem method.

Use AddItem to create a new collection item with the values specified in the arguments to the method.

See also

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