Solved

multiline in flexgrid

Posted on 2008-06-13
5
1,029 Views
Last Modified: 2011-04-14
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
Comment
Question by:siva_gk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 21777247
Have you tried to add a break in the code, like:

"Line1" & vbCrLf & "Line2"
0
 

Author Comment

by:siva_gk
ID: 21777833
it is coming like Line1 (2 square symbols in the same line) Line2 (that too also in the same line
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 21784673
Sorry for the delay!

Have you the WordWrap  property to true ?

Me.MSFlexGrid1.WordWrap = True
0
 

Author Comment

by:siva_gk
ID: 21791326
yeah that was the problem. i changed that and it was working !!!
0
 
LVL 48

Expert Comment

by:jpaulino
ID: 21791426
Ok,

Glad I could help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question