[SOLVED] Possible bug in XTPPropertyGridItemFont |
Post Reply |
Author | |
Markus
Newbie Joined: 07 August 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
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 |
|
Markus
Newbie Joined: 07 August 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
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 |
|
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 |