Solved

multiline in flexgrid

Posted on 2008-06-13
5
1,037 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

617 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