Setting tooltip for CXTPReportGroupRow |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 226 |
Post Options
Thanks(0)
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
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(2)
|
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 |
|
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 |