Sign in Join
FPDoc Onlineexperiment

TItemPropList.Insert procedure

Member of TItemPropListpublicIn unit ValEdit

Inserts the new item at the specified position in the container.

Declaration

pascal
procedure Insert(Index: Integer; AValue: TItemProp)

Arguments

Index

Ordinal position for the new item.

AValue

New item to insert into the list.

Description

Insert is a procedure used to insert the new item in the container at the specified position. Index specifies the ordinal position in the range 0..Count-1 where the item will be stored. AValue is the TItemProp instance to store at the specified position. Insert calls the corresponding method in TFPObjectList using Index and AValue as arguments.

Use Add to append a new item to the container.

See also

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