Help Center

ColWordWrapOptionFixedproperty

Controls text wrapping specifically within the fixed columns (row headers) or fixed rows (column headers) of the grid.

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 ColWordWrapOptionFixed (BYVAL Index AS LONG) AS WordWrapSettings
PROPERTY ColWordWrapOptionFixed (BYVAL Index AS LONG, BYVAL opt AS WordWrapSettings)

Parameters

NameDescription
IndexThe zero‑based index of the fixed column. A value of –1 applies the setting to all the fixed columns.
optAn integer value or constant that defines how text is displayed:
flexWordBreak: Normal word-breaking/wrapping.
flexWordBreakEllipsis: Wraps text but appends an ellipsis ("...") if the text is still too long for the available space.

Description

Returns or sets how text wraps or is truncated within the fixed columns (the non-scrolling columns usually located on the far left of the grid).

Remarks

The grid's global WordWrap property must be set to True for this specific property to function.

Enabling wrapping does not automatically grow the row. You must manually set the RowHeight for the row containing the text to see the wrapped lines.

This property only has a visible effect on columns whose index is less than the value of the FixedCols property.

Because fixed columns often contain labels, row numbers, or hierarchical indicators, this property is useful when those labels are longer than the available width and would otherwise be clipped.

Reference