BoF property

Applies to
TQDB, TQDBItem, TQDBView

Declaration
property BoF : boolean;

Description
The behavior of the BoF and EoF properties depends upon the AggressiveUpdate property.

If AggressiveUpdate is true BoF is set whenever FirstItem or PrevItem moves to the first 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 PrevItem checks for BoF. Since this could be considerable the default condition is for AggressiveUpdate to be false.

When AggressiveUpdate is false PrevItem only sets BoF when it tries and fails to move to an earlier item. Note, therefore, that you can be at the first item without BoF being true.

Setting ItemIndex directly does not affect BoF.

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