Sign in Join
FPDoc Onlineexperiment

TBookmarkList.Clear procedure

Member of TBookmarkListpublicIn unit DBGrids

Clear removes all Items in the bookmark list.

Declaration

pascal
procedure Clear

Description

Clear is a procedure used to remove all of the Items stored in the list. Clear calls the TDataset.FreeBookmark method for each of the TBookmark instances in Items. The length of the Bookmark is set to 0 to decrease the reference count for the memory allocation.

Clear uses the Invalidate method in the associated Grid control and causes it to be redrawn.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.