Print Page | Close Window

No input validation for number items

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=1271
Printed Date: 21 November 2024 at 3:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: No input validation for number items
Posted By: cpede
Subject: No input validation for number items
Date Posted: 12 October 2004 at 1:20pm

Using the  CXTPPropertyGridItemDouble and CXTPPropertyGridItemNumber classes I would expect only numbers to be valid inputs (plus ".", "e" etc.), but there is no validation at all.

On the other hand  I can see that the CXTPPropertyGridInplaceEdit class includes a mask function. But I don't know how to specify a mask that only alow numbers.

So I guess what I'm looking for is two mask string that defines a whole number (integer) and a floating point.

cpede




Replies:
Posted By: gshawn
Date Posted: 12 October 2004 at 1:32pm

Hi,

I would like to know this as well. I had the same question about the ActiveX version of the library.

Thanks!




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