Print Page | Close Window

ReportControl:BeforeDraw

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=2581
Printed Date: 17 November 2024 at 3:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportControl:BeforeDraw
Posted By: rdeboer
Subject: ReportControl:BeforeDraw
Date Posted: 15 July 2005 at 11:11am

In v9.61 is used ReportControl_BeforeDraw to change the backcolor of some items. But after the update to 9.70, this event isn't executed anymore?

It worked perfectly in 9.61.

Is this a bug or has something else changed. My code hasn't.

 

 




Replies:
Posted By: SuperMario
Date Posted: 15 July 2005 at 11:13am
wndReportControl.SetCustomDraw xtpCustomBeforeDrawRow


Posted By: rdeboer
Date Posted: 15 July 2005 at 11:27am

Thanks!

 



Posted By: rdeboer
Date Posted: 15 July 2005 at 11:32am

The DrawItem event can be used to do custom drawing such as drawing a progress bar in the item.

I didn't notice this before, is there any vb6 sample which illustrates a progressbar in a column?

 

 



Posted By: SuperMario
Date Posted: 15 July 2005 at 11:34am
No Yet


Posted By: rdeboer
Date Posted: 15 July 2005 at 12:41pm

Too bad. Is there any method to get the x/y coordinate of column xxx, so we can position a progressbar manually?

 

 



Posted By: SuperMario
Date Posted: 15 July 2005 at 12:44pm
Thas what the MeasureRow and DrawItem events are for, they tell you the bounding rectangle of the item, this way you know where you can draw.


Posted By: rdeboer
Date Posted: 15 July 2005 at 12:59pm

Can you give a small vb6 sample to get this coordinates?




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