Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.IsBookmarkAvailable Method

Indicates whether there is a bookmark available (created by the SaveBookmark method).

#Declaration

Delphi
function IsBookmarkAvailable: Boolean; virtual;

#Returns

Type
Boolean

#Remarks

Use the IsBookmarkAvailable function to test whether the SaveBookmark method was used to create a bookmark and that the bookmark still exists. If the bookmark is available, you can jump to the record to which it refers using the GotoBookmark method.

A bookmark can be unavailable for the following reasons:

  • the SaveBookmark was not called

  • the bookmark was cleared explicitly by the ClearBookmark method

  • the bookmark was cleared implicitly when the record referred to by the bookmark was deleted

For more details on bookmarks, refer to the SaveBookmark description.

See Also