ComponentOne VSFlexGrid 8.0
ColHidden Property

Returns or sets whether a column is hidden.

Syntax

[form!]VSFlexGrid.ColHidden(Col As Long)[ = {True | False} ]

Remarks

Use the ColHidden property to hide and display columns. This is a better approach than setting the column's ColWidth property to zero, because it allows you to display the column later with its original width.

Hidden columns are ignored by the AutoSize method.

When setting this property, the Col parameter should be set to a value between zero and Cols - 1 to hide or show a given column, or to -1 to hide or show all columns.

This example hides the second column:

   fg.ColHidden(1) = True

Data Type

Boolean

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback