Print Page | Close Window

Custom ToolTip Texts of PropetyGridItem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=7370
Printed Date: 15 June 2024 at 5:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom ToolTip Texts of PropetyGridItem
Posted By: akur
Subject: Custom ToolTip Texts of PropetyGridItem
Date Posted: 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!




Replies:
Posted By: Oleg
Date 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


Posted By: akur
Date 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).




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