Print Page | Close Window

Get ReportRecord under mouse cursor

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=14247
Printed Date: 29 September 2024 at 7:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get ReportRecord under mouse cursor
Posted By: SMaton
Subject: Get ReportRecord under mouse cursor
Date Posted: 08 May 2009 at 8:24am
Hi,

via the HitTest function of CXTPReportControl I get a CXTPReportRow. I *know* that right at the position there is a valid entry and I get a valid ReportRow pointer.

Now, I would like to get the ReportRecord associated with that ReportRow, but I get a NULL pointer for whatever entry I click on. I must add that this only happens when I have grouped the entries via CXTPReportControl->GetColumns->GetGroupsOrder->Add().

When not grouping, I get a valid ReportRecord pointer.

Could anyone tell me what to do to achieve the same behaviour when the report is grouped by columns?

Thanks,
Stefan




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