|  | 
| CXTPPropertyGridItemNumber allows alpha chars?!? | 
| Post Reply   | 
| Author | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  Topic: CXTPPropertyGridItemNumber allows alpha chars?!? 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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  Posted: 13 August 2008 at 5:13pm | 
| 
   Hi; No one here to show me the right direction? | |
| 
     Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 14 August 2008 at 12:45am | 
| 
   Hi,
 try call pItem->SetEditStyle(ES_NUMBER) for this item. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 November 2014 at 7:35am | 
| 
   Hello; Sad, but in Release 16.4 it's still not solved! | |
| 
     Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| mcmastl   Senior Member     Joined: 14 April 2015 Status: Offline Points: 79 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  Posted: 17 April 2015 at 5:58am | 
| 
   Hello; It's still not solved! | |
| 
     Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 July 2019 at 10:34am | 
| Hi; Version 18.6 still not solved! 11 years later! Wow | |
| 
     Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| 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 |