EhLib
ContentsIndexHome
PreviousUpNext
TCustomDBAxisGridEh.FieldCount Property

Specifies the number of fields (columns) displayed in the grid.

Pascal
property FieldCount: Integer;

Use FieldCount to iterate through all the field components indexed by the Fields property. FieldCount may differ from the number of fields in the underlying dataset because the grid may contain calculated fields, and not all fields in the dataset are necessarily shown in the grid. Individual fields are removed and calculated fields are added using the Columns editor at design time. 

 

FieldCount is the same as the number of columns at runtime. At design time, the grid may contain empty columns.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!