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.IsEOF Method

Returns a value indicating whether the last visible row is focused.

#Declaration

Delphi
function IsEOF: Boolean;

#Returns

Type
Boolean

#Remarks

The IsEOF function returns True if the last visible row is focused. Otherwise, the function returns False.

In grid mode implemented by the TcxDBDataController class, IsEOF returns the result of the TDataSet.EOF property.

In other loading modes (unbound, provider, and default bound modes), IsEOF returns True if the FocusedRowIndex property is equal to RowCount - 1 or if there are no rows at all.

If you need to know whether the last data record is focused in bound mode, you should use the dataset’s EOF property.

The IsBOF and IsEOF functions take the order in which rows are displayed on screen into account. A row represents a potentially visible data record or a grouping row, which can be focused, selected and deleted. The order in which rows are displayed on screen is based on the sorting, filtering and grouping applied.

The difference between rows and records is described in the TcxCustomDataController topic.

See Also