RAD Studio VCL Reference
|
Indicates whether the Bookmark property of the associated DBGrid's dataset is in the Items array.
property CurrentRowSelected: Boolean;
__property Boolean CurrentRowSelected;
Read CurrentRowSelected to determine whether the Bookmark property of the associated DBGrid's dataset specifies a bookmark string in the Items property array. CurrentRowSelected is true when the bookmark string is included, false when it is not. The Bookmark property of the dataset indicates the current record in the dataset.
Set CurrentRowSelected to specify whether the Bookmark string of the associated DBGrid's dataset should be included in the bookmark list. Setting CurrentRowSelected to true adds the Bookmark property of the dataset to the Items array if it is not already there. Setting CurrentRowSelected to false removes the Bookmark of the dataset from the Items array if it is there. If the Bookmark property of the dataset is an empty string (no bookmark), setting CurrentRowSelected does nothing.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|