TFPGList.Insert¶
Insert a new item in the list.
Declaration¶
Source position: fgl.pp line 162
public
procedure TFPGList.Insert(Index: Integer; const Item: T);
Errors¶
If an invalid index is specified, an EListError exception is raised.
See also¶
| Name | Description |
|---|---|
| TFPGList.Items | Indexed access to items in the list. |
| TFPGList.Insert | Insert a new item in the list. |
| TFPSList.Add | Add a new item to the list. |