Skip to main content

IcxNavigator.IsBof Method

Returns whether the control is at the beginning of its navigable range.

Declaration

function IsBof: Boolean;

Returns

Type
Boolean

Remarks

The Prior, PriorPage and First buttons are intended to navigate backwards through items of the bound control. Each time the currently selected item changes, the control must call the IcxNavigatorOwner.NavigatorStateChanged method that updates the navigator. This method checks the state of all navigator buttons by calling several methods. The IsBof function is called among them. If this function returns True, the Prior, PriorPage and First buttons become disabled. Otherwise, they are enabled.

When the last item of the control is achieved, the Next, NextPage and Last navigator buttons must become disabled. Implement the IsEof function to provide such logic.

See Also