Print Page | Close Window

Setting tooltip for CXTPReportGroupRow

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=23331
Printed Date: 02 May 2024 at 2:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting tooltip for CXTPReportGroupRow
Posted By: Fredrik
Subject: Setting tooltip for CXTPReportGroupRow
Date Posted: 09 May 2017 at 9:10am
Hi, 

I need to set the tooltip for a CXTPReportGroupRow to something else but its caption (which is sort of useless). 

It would be good if I could catch XTP_NM_REPORTTOOLTIPINFO or overloading CXTPReportControl::OnGetToolTipInfo for group rows. 

Right now it seems I have to overload CXTPReportControl::CreateRow where I return a new instance of

class MyCustomReportGroupRow_Batch : public CXTPBatchAllocObjT<MyCustomReportGroupRow, CXTPReportGroupRow_BatchData>
{
};

and finally implement MyCustomReportGroupRow::GetTooltip()...

sure there should be an easier way?


-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Replies:
Posted By: mgampi
Date Posted: 10 May 2017 at 4:40am
Hi;

This is the only solution for rel 17.0, but you can use CXTPReportGroupRow as the base class.
And don't forget to implement your own CreateGroupRow() function.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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