Print Page | Close Window

OnReportItemClick in virtual mode

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=20093
Printed Date: 28 September 2024 at 11:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnReportItemClick in virtual mode
Posted By: frank65
Subject: OnReportItemClick in virtual mode
Date Posted: 30 August 2012 at 3:33am

Hi

 
How do I get the data of the different CXTPReportRecordItemText if I select a row in virtual mode?

So far I use:void CDlgSearch::OnReportItemClick(NMHDR * pNotifyStruct, LRESULT * /*result*/)
{
 XTP_NM_REPORTRECORDITEM* pItemNotify = (XTP_NM_REPORTRECORDITEM*) pNotifyStruct;

 if (!pItemNotify->pRow || !pItemNotify->pColumn)
  return;

with pItemNotify->pRow->GetIndex() to retrieve the data again from the data source. Is it possible to get the data directly from the report control?
 
Thanks
Frank



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