How To Adjust RowHeight of MSFlexGrid to Accommodate WordWrap (178127)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q178127 SUMMARY
The MSFlexGrid included with Visual Basic 5.0 has a WordWrap property that
allows the user to determine whether text in a cell of the MSFlexGrid
should be continued on a new line in the same cell if one or more words
extends beyond the edge of the cell. However, the MSFlexGrid does not
automatically adjust the RowHeight to accommodate the extra lines. This
article illustrates how you can adjust the RowHeight of cells in the
MSFlexGrid to accommodate text that wraps.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbControl kbhowto KB178127 |
---|
|