![]() |
Custom ToolTip Texts of PropetyGridItem |
Post Reply
|
| Author | |
akur
Senior Member
Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Quote Reply
Topic: Custom ToolTip Texts of PropetyGridItemPosted: 13 June 2007 at 5:14am |
|
Hello,
I'd like to have my own texts displayed as ToolTip texts in the PropertyGrid. In our case, PropertyGridItems can have different text set as their value and different text that would be fine to show in a tooltip for that grid item. Is there a way to achieve this in XTP? Or do I need to modify XTP sources to achieve this? Thank you, in advance! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 June 2007 at 5:36am |
|
Hello,
Now only value can be used as tooltip - you can patch void CXTPPropertyGridView::ShowToolTip(CPoint pt) method to set some tooltip.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
akur
Senior Member
Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 June 2007 at 5:41am |
|
Thank you! Yes, exactly that's what I'm experimenting with right now.
Any plans to add this possibility as a customization feature of XTP in the future? I'd like to minimize our changes to XTP code as long as possible (to lower future maintenance efforts of the library). |
|
![]() |
|
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 |