RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientDataSetUndo.FollowChange Property

Indicates whether the client dataset should keep its cursor on the same record, even after backing out the last edit.

Pascal
property FollowChange: Boolean;
C++
__property Boolean FollowChange;

FollowChange indicates how the target client dataset should determine the current record after backing out the last edit. When FollowChange is true, the record whose edit was just backed out remains current. When FollowChange is false, the record in the current position remains current, even if undoing the last edit causes the record to move to a different position in the dataset's sort order. 

TClientDataSetUndo passes the value of FollowChange as the value of the FollowChange parameter when it calls the UndoLastChange method of the target client dataset. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!