|  | 
| Report Control Row Height | 
| Post Reply   | 
| Author | |
| UniversalProg.   Newbie     Joined: 02 June 2005 Location: India Status: Offline Points: 10 |  Post Options  Thanks(0)  Quote  Reply  Topic: Report Control Row Height Posted: 06 December 2005 at 11:10pm | 
| How do I set report control row height ? so the content which wrapped on second line should displayed ? 
 
 | |
| 
         Excellency & mastery our soul,
 And serving beyond the expectations is our Goal. N.Nilesh | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 07 December 2005 at 7:44am | 
| 
   You can't specify height, but you can specify multi-row. wndReportControl.PaintManager.FixedRowHeight = False wndReportControl.Columns(COLUMN_SUBJECT).Alignment = xtpAlignmentLeft Or xtpAlignmentWordBreak In this sample, COLUMN_SUBJECT is the column that contains allot of text. This code will cause text to "wrap" to the next line if too long to display on a single line. | |
|  | |
| rdeboer   Groupie   Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |  Post Options  Thanks(0)  Quote  Reply  Posted: 05 September 2006 at 9:04am | 
| 
 If I try this, it doesn't display the second line of text fully, only a part of it. Is there a way to display 2 lines of text fully, so both lines of text could be seen? | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  Posted: 05 September 2006 at 3:47pm | 
| 
 It doesn't display second line just because somewhere you do use xtpCustomBeforeDrawRow custom draw notification. You'll have whether to disable it at all or ensure that you call .SetCustomDraw xtpCustomBeforeDrawRow before .PaintManager.FixedRowHeight = False -- WBR, Serge | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |