Print Page | Close Window

CXTPPropertyGridItemNumber allows alpha chars?!?

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=10456
Printed Date: 29 February 2024 at 12:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyGridItemNumber allows alpha chars?!?
Posted By: mgampi
Subject: CXTPPropertyGridItemNumber allows alpha chars?!?
Date Posted: 02 May 2008 at 1:16pm
Hi;
Using 12.0 toolkit I created a CXTPPropertyGridItemNumber item and I'm able to insert alpha characters too?
Is this a bug or a feature.
In any case, how can I restrict the input to numbers (including '-') only?
 
BTW: The same is true for CXTPPropertyGridItemDouble


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 13 August 2008 at 5:13pm
Hi;

No one here to show me the right direction?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: Oleg
Date Posted: 14 August 2008 at 12:45am
Hi,
 
try call pItem->SetEditStyle(ES_NUMBER) for this item.


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


Posted By: mgampi
Date Posted: 14 August 2008 at 3:47am
Hi Oleg;

I did this allready, but in this case I can't input negative numbers ('-' is not allowed) and in case of CXTPPropertyGridItemDouble I'm also unable to input the decimal separator.
I think the item types should be extended to handle this - keeping localization in mind - and additional it should be possible to set min and max values for the allowed range.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mgampi
Date Posted: 06 November 2014 at 7:35am
Hello;

Sad, but in Release 16.4 it's still not solved!


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mcmastl
Date Posted: 16 April 2015 at 3:12pm
Hello and thank you for letting us know of this issue.  We have brought this up to the development team and will be looking into it.  If this issue has been resolved please let us know.

-------------
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mgampi
Date Posted: 17 April 2015 at 5:58am
Hello;

It's still not solved!


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mgampi
Date Posted: 08 July 2019 at 10:34am
Hi;

Version 18.6 still not solved!
11 years later! Wow


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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