Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show multiline in msflexgrid

Status
Not open for further replies.

prasadalone

Programmer
Aug 15, 2002
87
Is it possible to show multiline in msflexgrid ?I want to show company address(which is multiline) in msflexgrid.problem is address shows in one line with a junk character of new line .i dont want to use multiline edit field.is there any solution without multiline edit.plz help me
thanks in advance

 
You have to set the property "WordWrap" of your MSFlexGrid control to true. The behaviour of the control changes then in two points:
1) An automatic word wrap within the cells is done (which is something you might not want to see :-( )
2) CR characters (
Code:
chr$(13)
) are displayed as intended (they force a linebreak)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top