Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - No input validation for number items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

No input validation for number items

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: No input validation for number items
    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

Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post 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!



Edited by gshawn
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.152 seconds.