RAD Studio VCL Reference
|
Deletes a row in the value list editor and a corresponding string from the associated TStrings object.
procedure DeleteRow(ARow: Integer); override;
virtual __fastcall DeleteRow(int ARow);
Call DeleteRow to remove the row specified by the ARow parameter. Delete removes the corresponding string from the TStrings object being edited and updates the display.
ARow must be the index of a row that displays a name/value pair. That is, it can't be less than 0 or greater than the number of rows. If DisplayOptions includes doColumnTitles, ARow can't be 0, because that is the title row, not a name/value pair in the associated TStrings object.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|