This project is read-only.

Multiline Text

Oct 28, 2009 at 11:47 AM


I am trying to build a table with the SourceGrid and multiline text in the cells like in a FlexGrid of VisualBasic 6.
It is essential that the breaks have 2 possibilities.

1. at space between words
2. at every position of text

If this is possible then I have to change the height of the row.
Can I get the size of text and number of textlines to allocate the height of row?
Is there a method to bring the height of row to the max. height of multiline text and
 also the width of column in due consideration of breaks automatically?

I would be happy to break my search of Grid-Controls with this features  and use the  SourceGrid.

Thank for all ideas.

Oct 28, 2009 at 4:16 PM

Yes, there are methods to determine size of text, but i am not sure which now ;) 

Look at how "AutosizeView" methods are implemented, there you might find what you need