Skip to main content

IcxNavigator.IsBookmarkAvailable Method

Returns whether the control is able to bookmark or save its position within its navigable range.

Declaration

function IsBookmarkAvailable: Boolean;

Returns

Type
Boolean

Remarks

Navigator controls provide the SaveBookmark and GotoBookmark buttons that are intended to save the bookmark for the current item of the bound control and to navigate to that item respectively. To provide such functionality, you need to implement the DoAction method.

The GotoBookmark button must be enabled only when there is a bookmark stored. This must be determined by the IsBookmarkAvailable function. If it returns True, the GotoBookmark button is enabled. Otherwise, it is disabled.

See Also