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