Print Page | Close Window

Report Control - Preview text

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1041
Printed Date: 06 May 2024 at 6:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control - Preview text
Posted By: Maui
Subject: Report Control - Preview text
Date Posted: 09 August 2004 at 1:26pm

I was just looking at the Report Control sample.
I noticed that the Preview Text spans the whole width of the control.

Since this control seems to emulate the grid in Outlook so well I was wondering why this aspect of it had been made different.

I looked at the documentation and all I could see was the ability to turn preview text on or off.

Is there a way to make it only span certain columns the same as outlook?

Im not bothered by it, just curious.

Thanks




Replies:
Posted By: SuperMario
Date Posted: 09 August 2004 at 2:33pm
I'm not sure what you mean.  What option do I set in Outlook?  In the reportcontrol you can specify how many lines are displayed in the preview text.  You can just add line breaks in the text to keep it from filling the entire row.


Posted By: Maui
Date Posted: 10 August 2004 at 4:31am

Width, not height. Here is a picture of what I am talking about.
A. is Codejock Report Control
B. is Outlook

See how in A (codejock report control) the preview text spans the whole width of the control but in B (outlook) there is an indent where the preview text doesnt appear (indicated with a big red X)

What I wanted to know is can you make the codejock report control display its preview text indented the same as outlook does.

 



Posted By: Boyd
Date Posted: 10 August 2004 at 7:40am

Take a look at the 'SetPreviewIndent' method of 'PaintManager'.  It allows you to set the margins for the preview text.



Posted By: Maui
Date Posted: 10 August 2004 at 1:13pm

Nice one.

Thanks




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