Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.BookmarkValid function

Member of TCustomBufDatasetpublicIn unit BufDataset

Determines if the specified Bookmark is valid for the dataset.

Declaration

pascal
function BookmarkValid(ABookmark: TBookMark): Boolean; override

Arguments

ABookmark

Bookmark examined in the method.

Function result

True when the bookmark is valid.

Description

BookmarkValid is an overridden Boolean function used to determine if the Bookmark specified in ABookmark is valid for the currently selected index in the dataset. BookmarkValid re-implements the method defined in the ancestor class.

BookmarkValid requires an index be selected and assigned to the CurrentIndexBuf property. The return value is False when no index is available to validate the bookmark. The return value is True when ABookmark represents a valid bookmark in the selected index.

See also

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