[Overview][Types][Classes][Procedures and functions][Index] |
Adds the specified item and object instance to the control.
Source position: comboex.pas line 168
public procedure TCustomComboBoxEx.AddItem( |
const Item: string; |
AnObject: TObject |
); override; |
Item |
|
Item added to the control. |
AnObject |
|
Object with data for the item added to the control. |
AddItem is a procedure used to create a new item in the extended combo-box control with the specified caption and object data. Item contains the caption assigned to the new TComboExItem instance. AnObject is an object with the data stored in the new TComboExItem instance.
AddItem calls Insert to create, update, and store the item in the ItemsEx property. The value in AnObject is stored to the Data property in the extended combo-box item appended to ItemsEx.
|
Collection with the extended items defined for the control. |
|
|
Text displayed for the collection item. |
|
|
Pointer to the data used in custom sort operations. |
|
|
Implements a collection for the items added to TCustomComboBoxEx. |
|
|
Implements an extended item used in TComboEx. |
|
|
Container for the items added to a list control. |
Version 4.0 | Generated 2025-05-03 | Home |