Print Page | Close Window

Item parameter of BeforeDraw

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=8945
Printed Date: 22 November 2024 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Item parameter of BeforeDraw
Posted By: VDF1
Subject: Item parameter of BeforeDraw
Date Posted: 28 November 2007 at 3:37pm
When I trap the event BeforeDrawRow in a ReportControl object initiated by setting the SetCustomDraw to xtpCustomBeforeDrawRow i notice that the VT_DISPATCH value for the item parameter keeps the same for all columns in the ReportControl. This on its turn makes that Index of the ReportRecordItem keeps returning 0 (true for the first column).
 
When I try the VB#.NET sample it works fine. I am using an implementation compared to VB and I can't get the VB sample working so I wonder if there is a difference in how the ReportControl is used.
 


-------------
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609



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