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

IcxNavigator.IsBof Method

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

#Declaration

Delphi
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