Object Reference > TDBDropDown Properties > VisibleCols Property (TDBDropDown) |
Returns the number of visible columns.
object.VisibleCols
Read-only at run time.
For TDBGrid controls, this property returns the number of visible columns in the current split. The value returned includes both fully and partially displayed columns. You can use the Split property of the TDBGrid control to determine the index of the current split.
For TDBDropDown controls, this property returns the number of visible columns in the entire control, since there can only be one split. The value returned includes both fully and partially displayed columns.