Vcl.ComCtrls.TComboExItems.Insert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Insert(Index: Integer): TComboExItem;

C++

HIDESBASE TComboExItem* __fastcall Insert(int Index);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TComboExItems

Description

Inserts a new item at a specified position.

Call Insert to insert a new item into the collection at a specified position.

Insert instantiates an object of the type that was specified when the TListControlItems instance was created and inserts it into the collection at the position specified by Index. An index of 0 specifies the first position, 1 specifies the second position, and so on.

Insert returns the newly created object so that you can specify its properties.

See Also