![]() |
[FIXED] PropertyGridItemEnum is not case sensitve |
Post Reply ![]() |
Author | |
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() Posted: 25 July 2011 at 3:15am |
Hello,
CXTPPropertyGridItemEnum is not case sensitive (tested with version 13.4.2 and 15.1.1). The following code is taken from the GridSample. I have just added some more constraints and the TRACE statements:
All FindConstraint statements return 2 (the index of "Windows XP"). The fix for the bug seems to be simple. Just replace the "CompareNoCase" in the CXTPPropertyGridItemConstraints::FindConstraint method with "Compare". It would be nice if CodeJock can fix this in the next version. Best regards Holger Farr. |
|
Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit) Language: Visual C++ 15.0 (Visual Studio 2017) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Sorry we don't consider it as bug. was a lot of requests for compareNoCase in past. just can't be changed now. Please update code as you need.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() |
Hello Oleg,
thanks for the answer. I updated the code and it works well for me. For the future it would be nice to have a possibility to set a user defined compare method in FindConstraints. This avoids changing the library source code after every new release. ![]() |
|
Product: Xtreme Toolkit Pro version 16.3.1, 18.4.0
Platform: Windows 10 (64 Bit) Language: Visual C++ 15.0 (Visual Studio 2017) |
|
![]() |
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 |