EhLib
ContentsIndexHome
PreviousUpNext
DBGridEh.TGridMoveRecordsEventEh Type

Occurs when the record is going to be moved or when grid checks are there accessible to move record to specified RecNo.

Pascal
TGridMoveRecordsEventEh = function (Sender: TObject; BookmarkList: TBMListEh; ToRecNo: Longint; TreeLevel: Integer; CheckOnly: Boolean): Boolean of object;

Write an OnSortMarkingChanged event handler to take specific action when the record is going to be moved or when grid checks are there accessible to move record to specified RecNo.

  • BookmarkList is a list of bookmarks which need to move.
  • ToRecNo is a destination RecNo.
  • TreeLevel is a destination level in tree list, used only when grid connected to MemTableEh.
  • CheckOnly - determines whether the function have to return result, are there enabling to move BookmarkList to ToRecNo, but does not move BookmarkList.
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!