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

TCustomListBox.AddItem

Adds an item to the list.

Declaration

Source position: stdctrls.pp line 551

public procedure TCustomListBox.AddItem(

  const Item: string;

  AnObject: TObject

);

Arguments

Item

  

The item text.

AnObject

  

The associated object, can be Nil.

See also

TCustomListBox.Items

  

The list of all items in the control.