Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1047
  • Last Modified:

multiline in flexgrid

In a MSFlexGrid control to display a multiline text is not possible? Even if I adjust the RowHeight and CellWidth property, the line breaks are not happening in MSFlexGrid.

Is it possible through anyother method?
0
siva_gk
Asked:
siva_gk
  • 3
  • 2
1 Solution
 
jpaulinoCommented:
Have you tried to add a break in the code, like:

"Line1" & vbCrLf & "Line2"
0
 
siva_gkAuthor Commented:
it is coming like Line1 (2 square symbols in the same line) Line2 (that too also in the same line
0
 
jpaulinoCommented:
Sorry for the delay!

Have you the WordWrap  property to true ?

Me.MSFlexGrid1.WordWrap = True
0
 
siva_gkAuthor Commented:
yeah that was the problem. i changed that and it was working !!!
0
 
jpaulinoCommented:
Ok,

Glad I could help!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now