[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ComboEx' (#lcl)

TComboExItems.Add

Adds a new item to the collection.

Declaration

Source position: comboex.pas line 127

public function TComboExItems.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

TComboExItems.AddItem

  

Adds a new item with the specified values to the collection.

TListControlItems.Add

  

Adds a new item to the collection.

TComboExItem

  

Implements an extended item used in TComboEx.


Version 4.0 Generated 2025-05-03 Home