Hi! I have a problem :)
I have a WinGrid with 3 columns and 3 rows. The last row, has to show a informative text, and the UltraLabel that contains the text is ColSpan = 3.
The text is too long, and it doesn't fit only in 1 line. Then, I want the UltraLabel automatically wrap the text and shows it in two or three lines.
I set the row of the WinGrid to AutoSize and the UltraLabel has Dock=Fill and WordWrap=true.
Any idea?
Thanks in advance.
Hi,
I'm confused. What's this about an UltraLabel? There's no way to embed an UltraLabel in a grid. Are you saing there's a label outside the grid? I'm not sure what you are trying to accomplish or what you are asking.
I'll try to explain it better again :P
I have a grid, with 3 columns and 3 rows. In cell (0,2) - Column 0, Row 2 - I put a control. This control is a UltraLabel.
This label contains a text, larger than the grid's width. Think in an HTML table, with text in one of his cells. When the text is larger than the column that contains this text, the text truncates automatically and is shown in many rows, as necessary.
This is my problem. The text don't truncate automatically and the text that exceeds the table width doesn't appear in the screen.
I hope my explanation works now :)