Unit 'MUIClass.List' Package
[Overview][Types][Classes][Index] [#MUIClass]

TMUIList.Insert

Insert new entries into a list.

Declaration

Source position: MUIClass.List.pas line 92

public procedure TMUIList.Insert(

  Entries: PPChar;

  Count: Integer;

  Pos: Integer

);

Arguments

Entries

  

pointer to an array of pointers to be inserted. Warning: This is a pointer to a pointer.

Count

  

Number of elements to be inserted. If count=-1, entries will be inserted until nil pointer in the entries array is found.

Pos

  

New entries will be added in front of this entry. MUIV_List_Insert_*

Description

When the list has a OnConstruct Event, the given pointers won't be inserted directly but instead passed through to the construct Event.

Special Position Values:

MUIV_List_Insert_Top
Insert as first entry.
MUIV_List_Insert_Active
Insert in front of the active entry.
MUIV_List_Insert_Sorted
Insert sorted.
MUIV_List_Insert_Bottom
Insert as last entry.

See also

OnConstruct

  

Constrcut a new List Entry


Documentation generated on: 2024-04-23