ReportControl:BeforeDraw |
Post Reply |
Author | |
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
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.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
wndReportControl.SetCustomDraw xtpCustomBeforeDrawRow
|
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
Thanks!
|
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
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?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
No Yet
|
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
Too bad. Is there any method to get the x/y coordinate of column xxx, so we can position a progressbar manually?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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.
|
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
Can you give a small vb6 sample to get this coordinates? |
|
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 |