Sign in Join
FPDoc Onlineexperiment

TCustomComboBoxEx.AssignItemsEx procedure

Member of TCustomComboBoxExpublicIn unit ComboEx

Assigns the specified values to the ItemsEx property.

Declaration

pascal
procedure AssignItemsEx(AItems: TStrings); overload
procedure AssignItemsEx(AItemsEx: TComboExItems); overload

Arguments

AItems

TStrings instance with values stored in the ItemsEx property.

AItemsEx

TComboExItems instance with values stored in the ItemsEx property.

Description

AssignItemsEx is an overloaded procedure used to assign the specified values to the ItemsEx property.

The overloaded variants are used to specify different source types with the values stored in the method. When AItemsEx (TComboExItems) is used as the source, the Assign method in ItemsEx is called to store the new values in the property. When AItems (TStrings) is used as the source, additional processing is performed to clear the content in ItemsEx prior to calling its AddItem method for each of the captions in AItems.

See also

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