WordWrap Property (MSHFlexGrid)

       

Returns or sets a value that determines whether a cell displays multiple lines of text or one long line of text.

Note   Return characters, such as Chr(13), also force line breaks.

Syntax

object.WordWrap [=Boolean]

The WordWrap property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
Boolean A Boolean expression that specifies whether the text within a cell wraps.

Settings

The settings for Boolean are:

Part Description
True The cell text displays with multiple, wrapping lines of text.
False The cell text displays as one long line of text. This is the default.

Remarks

The MSHFlexGrid displays text slightly faster when WordWrap is set to False.