Vcl.ValEdit.TValueListEditor.FindRow

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindRow(const KeyName: string; var Row: Integer): Boolean;

C++

bool __fastcall FindRow(const System::UnicodeString KeyName, int &Row);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ValEdit.pas
Vcl.ValEdit.hpp
Vcl.ValEdit TValueListEditor

Description

Locates the row that corresponds to a specified key name.

Call FindRow to locate the row in the value list editor that has the value specified by KeyName in the first column. This corresponds to a name/value pair in the string list where the name part is KeyName.

If a row in the value list editor has the specified key name, FindRow returns true and the Row parameter returns the index of the first row found with the specified name. If the specified name does not correspond to any of the rows in the value list editor, FindRow returns false.

See Also