Print Page | Close Window

Report Control Row Height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=3362
Printed Date: 09 June 2024 at 7:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control Row Height
Posted By: UniversalProg.
Subject: Report Control Row Height
Date 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



Replies:
Posted By: SuperMario
Date 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.


Posted By: rdeboer
Date Posted: 05 September 2006 at 9:04am
Originally posted by SuperMario SuperMario wrote:

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.
 
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?
 
 


Posted By: sserge
Date Posted: 05 September 2006 at 3:47pm
Originally posted by rdeboer rdeboer wrote:

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? 


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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net