Print Page | Close Window

CXTPPropertyGridItemColor crash

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=10352
Printed Date: 28 September 2024 at 12:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyGridItemColor crash
Posted By: cxiaobao
Subject: CXTPPropertyGridItemColor crash
Date Posted: 24 April 2008 at 9:53pm
I use Property Grid in a DockingPane, and there is a CXTPPropertyGridItemColor item whith eidtor style "xtpGridItemColorPopup"  in it. After selecting "more colors", it crashs!

sorry for my english.



Replies:
Posted By: Oleg
Date Posted: 24 April 2008 at 11:38pm
Hello,
 
I just tried with our sample and it works.
 
Please open Samples\PropertyGrid\DrawClient\ sample and check it.
 
Do you have 11.2.2 version ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: cxiaobao
Date Posted: 25 April 2008 at 12:07am
I use the version 11.2.1.

I change the line 277 in Samples\PropertyGrid\DrawClient\mainfrm.cpp just like this:

pCategorySelected->AddChildItem(new CXTPPropertyGridItemColor(ID_ITEM_FILLCOLOR, pSelected->m_logbrush.lbColor));

==>

CXTPPropertyGridItemColor* pColorItem = new CXTPPropertyGridItemColor(ID_ITEM_FILLCOLOR, pSelected->m_logbrush.lbColor);
        pColorItem->SetEditorStyle(xtpGridItemColorPopup);
        pCategorySelected->AddChildItem(pColorItem);

the problem appears just the same.
The ColorPop window disappears when i click "more colors"



Posted By: Oleg
Date Posted: 25 April 2008 at 12:41am
Hello,
Think it was fixed already. I can't reproduce. Please wait a little, 12.0 is almost published.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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