Object Reference > True DBGrid Properties > BOF Property |
BOF Property
Returns beginning-of-file status.
TDBGrid.BOF
Read-only at run time. Not available at design time.
The BOF property operates like its Recordset counterpart. It returns True if the current record position is before the first record, False if the current record position is on or after the first record.
If the data source contains no records, then BOF will always return True.