Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Report Control - Preview text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control - Preview text

 Post Reply Post Reply
Author
Message
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post Topic: Report Control - Preview text
    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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2004 at 1:13pm

Nice one.

Thanks

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.