Insert one new entry into a list.
Source position: MUIClass.List.pas line 94
public procedure TMUIList.InsertSingle( |
Entry: PChar; |
Pos: Integer |
); |
Entry |
|
Item to insert. |
Pos |
|
New entry will be added in front of this entry. |
Using Insert() has caused some confusion since it takes an array to items instead a single item. To insert single items, InsertSingle is the better choice.
When the list has a OnConstruct Event connected, the given pointer won't be inserted directly but instead passed through to the construct hook.
Special Position Values: