[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Adds the specified string (and optional object) to the Items displayed in the control.
Source position: stdctrls.pp line 410
public procedure TCustomComboBox.AddItem( |
const Item: string; |
AnObject: TObject |
); virtual; |
Item |
|
The string added to Items. |
AnObject |
|
The associated object, can be Nil. |
AddItem is a procedure used to add the specified value (and an optional associated object) to the Items in the control. AddItem calls the AddObject method in Items to store the values in Item and AnObject.
|
The list of items displayed in the combo-box control. |
|
Version 3.2 | Generated 2024-02-25 | Home |