Sign in Join
FPDoc Onlineexperiment

TValueListEditor.FindRow function

Member of TValueListEditorpublicIn unit ValEdit

Locates the row with the specified Key name.

Declaration

pascal
function FindRow(const KeyName: string; out aRow: Integer): Boolean

Arguments

KeyName

Key name to locate in the method.

aRow

Relative row number for the specified key name.

Function result

True when the key name exists in the control.

Description

FindRow is a Boolean function used to locate the row with the specified Key name.

aRow contains the relative row number where KeyName was located. The row number is relative to the fixed title caption row (when visible).The value in aRow is not updated if KeyName is not found in Strings.

The return value is True when KeyName exists in the Strings property.

See also

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