Unicode Controls & Classes for VB6 - Version 4

ctlUniGrid.AllowMultiLineText Property

Permits you to use multiline text in grid cells

Syntax
Public Property Get AllowMultiLineText () As Boolean
Public Property Let AllowMultiLineText (ByVal b As Boolean)
Parameters
Parameter Description
ByVal b As Boolean The new value
Remarks
- if False the grid doesn't permit multi-line text; vbCrLf is ignored and the scroll unit is a row
- if True the grid permits multi-line text; the scroll unit is a pixel as every row can have different height than other rows. In this mode the grid is slower than before.
If the column has a fixed width, the text is word-wrapped to fit the cell size; if the column doesn't have a fixed size the text word-wraps only when a Carriage Return is encountered.