ColWordWrapOptionFixedproperty
Controls text wrapping specifically within the fixed columns (row headers) or fixed rows (column headers) of the grid.
Syntax
PROPERTY ColWordWrapOptionFixed (BYVAL Index AS LONG) AS WordWrapSettings
PROPERTY ColWordWrapOptionFixed (BYVAL Index AS LONG, BYVAL opt AS WordWrapSettings)
Parameters
| Name | Description | |
|---|---|---|
Index | The zero‑based index of the fixed column. A value of –1 applies the setting to all the fixed columns. | |
opt | An 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
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid