ComponentOne VSFlexGrid 8.0
RowHeight Property

Returns or sets the height of the specified row in twips.

Syntax

[form!]VSFlexGrid.RowHeight(Row As Long)[ = value As Long ]

Remarks

Use this property to set the height of a row at runtime. To set height limits for all rows, use the RowHeightMin and RowHeightMax properties.

If the Row parameter is -1, then the specified height is applied to all rows.

If you set RowHeight to -1, the row height is reset to its default value, which depends on the size of the control's current font. If you set RowHeight to zero, the column becomes invisible. If you want to hide a row, however, consider using the RowHidden property instead. This allows you to make the row visible again with the same height it had before it was hidden.

To set row heights automatically, based on the contents of the control, set the AutoSizeMode property to flexAutoSizeRowHeight (1) and call the AutoSize method.

Data Type

Long

 

 


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

Product Support Forum  |  Documentation Feedback