Vcl.DBClientActns.TClientDataSetUndo.FollowChange
Delphi
property FollowChange: Boolean read FFollowChange write FFollowChange;
C++
__property bool FollowChange = {read=FFollowChange, write=FFollowChange, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBClientActns.pas Vcl.DBClientActns.hpp |
Vcl.DBClientActns | TClientDataSetUndo |
Description
Indicates whether the client dataset should keep its cursor on the same record, even after backing out the last edit.
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.