Print Page | Close Window

[SOLVED] Possible bug in XTPPropertyGridItemFont

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=19493
Printed Date: 04 December 2024 at 2:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Possible bug in XTPPropertyGridItemFont
Posted By: Markus
Subject: [SOLVED] Possible bug in XTPPropertyGridItemFont
Date Posted: 16 February 2012 at 10:58am
Hello,

I'm using the PropertyGridItemFont in my Property Grid. Now, maybe since version 15.2.1 I miss the notification of the changed value. After debugging I think it's a problem with the focus change when the CFontDialog comes and goes.

After DoModal() of CDialogForm in the function CXTPPropertyGridItemFont::OnInplaceButtonDown(CXTPPropertyGridInplaceButton* pButton) the value of m_pGrid is NULL, which cause that the afterwards called function if ( OnAfterEdit(strValue) ) return FALSE and the notification function OnValueChanged(strValue) is never reached.

Is there a fix or a workaround?

Best regards and "Narri Narro" ;-)
Markus



Replies:
Posted By: Markus
Date Posted: 23 February 2012 at 7:27am
Hello,

after some more debugging I recognized, that my own code rebuild the property grid after switching back the focus from the CFontDialog to the property grid.

Please accept my apologies. Xtreme Toolkit is a great piece of software!

Markus



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