RAD Studio VCL Reference
|
Inserts a row in the value list editor and a corresponding string into the associated TStrings object.
function InsertRow(const KeyName: string; const Value: string; Append: Boolean): Integer;
__fastcall int InsertRow(const AnsiString KeyName, const AnsiString Value, Boolean Append);
Call InsertRow to add a name/value pair to the value list editor and the TStrings object it is editing.
InsertRow adds a string of the form
KeyName=Value
to the Strings property and updates the display to reflect the change.
If the current row of the value list editor is empty (has no name or value portion), InsertRow assigns the new KeyName and Value to the current row. Otherwise, if the Append parameter is true, the new string appears after the currently selected row, while if Append is false, the new string appears before the currently selected row.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|