Sign in Join
FPDoc Onlineexperiment

TValueListEditor.InsertRowWithValues procedure

Member of TValueListEditorpublicIn unit ValEdit

Inserts a row with the specified values at the specified position.

Declaration

pascal
procedure InsertRowWithValues(Index: Integer; 
 Values: Array of string = string)

Arguments

Index

Position for the inserted row.

Values

Array with the key name and value for the inserted row.

Description

InsertRowWithValues is a procedure used to insert a row with the specified values at the specified row number in the control. Index contains the position in Strings where the new row is inserted.

Values is an array of Strings with the Key name and value for the inserted row. Values should contain two elements in the array. The first is the key name. The second is the item value. The second array element can be omitted, and defaults to an empty string ( ''). Additional elements present in the array are not used in the method.

InsertRowWithValues inserts the key name and value in Strings at the specified position using the "Key=Value" convention used in the control.

Use InsertRow to insert a new row using separate key and item value parameters.

See also

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