Help Center

RowSizingModeproperty

Returns or sets a value that describes the sizing mode of the rows in the MSHFlexGrid.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY RowSizingMode () AS RowSizingSettings
PROPERTY RowSizingMode (BYVAL sizingMode AS RowSizingSettings)

Parameters

NameDescription
sizingModeAn integer or constant that specifies the settings of the row size.
flexRowSizeIndividual: Resizing a row changes only the height of that row. This is the default.
flexRowSizeAll: Resizing a row changes the height of all rows in the MSHFlexGrid.

Description

Returns or sets a value that describes the sizing mode of the rows in the MSHFlexGrid.

Remarks

This property only takes effect when AllowUserResizing is set to to flexResizeRows or flexResizeBoth.

Users typically initiate resizing by dragging the boundary of a row in the fixed column (the gray header area on the left).

In hierarchical (multi‑band) layouts, RowSizingMode applies to the actual rendered rows, not to logical bands. When set to flexRowSizeAll, resizing any row causes every visible row—parent rows, child rows, and grandchildren—to adopt the same height.

This behavior is purely visual; it does not affect the underlying Recordset or band structure.

Examples

grid.AllowUserResizing = flexResizeRows grid.RowSizingMode = flexRowSizeAll

To ensure that all rows stay uniform in height whenever a user adjusts one:

Reference