VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > RowHidden Property |
Returns or sets whether a row is hidden.
[form!]VSFlexGrid.RowHidden(Row As Long)[ = {True | False} ]
Use the RowHidden property to hide and display rows. This is a better approach than setting the row's RowHeight property to zero, it allows you to display the row later with its original height.
When the control collapses or expands an outline branch, either as a result of user mouse action or programmatically (see the Outline method and IsCollapsed property), it sets the RowHidden property accordingly.
Hidden rows are ignored by the AutoSize method.
When setting this property, the Row parameter should be set to a value between zero and Rows - 1 to hide or show a given row, or to -1 to hide or show all rows.
Boolean