Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.AddItem procedure

Member of TCustomComboBoxpublicIn unit StdCtrls

Adds the specified string (and optional object) to the Items displayed in the control.

Declaration

pascal
procedure AddItem(const Item: string; AnObject: TObject); virtual

Arguments

Item

The string added to Items.

AnObject

The associated object, can be Nil.

Description

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.

See also

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