Applies to
TQDB, TQDBItem, TQDBView
Declaration
property EoF : boolean;
Description
The behavior of the BoF and EoF properties depends upon the AggressiveUpdate property.
If AggressiveUpdate is true EoF is set whenever LastItem or NextItem moves to the last item in the file (taking into account any active Filter). Note, however, that if a filter is in effect there is an extra overhead when NextItem checks for EoF. Since this could be considerable the default condition is for AggressiveUpdate to be false.
When AggressiveUpdate is false NextItem only sets EoF when it tries and fails to move to a later item. Note, therefore, that you can be at the last item without EoF being true.
Setting ItemIndex directly does not affect EoF.
BoF and EoF both call UpdateNavigator to let an attached QDBNavigator component to change the status of its buttons accordingly.
Run-time only
Read-only