HOWTO: Tooltip for CXTPReportRecordItemControl
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=18669
Printed Date: 29 September 2024 at 1:23am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: HOWTO: Tooltip for CXTPReportRecordItemControl
Posted By: mgampi
Subject: HOWTO: Tooltip for CXTPReportRecordItemControl
Date Posted: 15 July 2011 at 6:48am
Hi;
I created a custom button using CXTPReportRecordItemControl. Now I want to apply a tooltip to this button but can't find out how to solve this. I create the control with this sequence:
CXTPReportRecordItemControl* pButton = Item->GetItemControls()->AddControl(xtpItemControlTypeButton); if(pButton) { pButton->SetAlignment(xtpItemControlRight); pButton->SetIconIndex(PBS_NORMAL, TemplateRemoveTagIcon); pButton->SetIconIndex(PBS_PRESSED, TemplateRemoveTagIcon); pButton->SetSize(CSize(22, 0)); } |
In an first attempt I tried to use the inplace expand button, but this is neither shown nor pressable when the item is not editable. I want the record item to only display some text that can be cleared ONLY by pressing the button.
Any help is very welcome.
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Replies:
Posted By: mgampi
Date Posted: 12 August 2011 at 4:18am
Hi;
Really no one every hit the same requirement? Andre, do you have any ideas how to solve this, or will this 'feature' be available in 15.1.3?
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Posted By: mgampi
Date Posted: 23 August 2011 at 2:28am
I really need this! Please help me if you can...
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
|