Solved

multiline in flexgrid

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now