Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox formats
Message
 
To
18/05/2007 14:14:54
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01226739
Message ID:
01227540
Views:
35
Calvin,

>Pardon my stupidity, but it appears to me that the maskedtextbox imposes its mask on the user. If I want the user to be able to enter a price up to 999999.99 and I put that in the maskedtextbox as a custom format then it becomes difficult for the user to enter anything less than 999999.99 like 25213.83. Perhaps I just don't understand how to program the maskedtextbox.

Actually, my mistake...I didn't read your post carefully enough. You can't do this with the masked text box but Microsoft has provided this DecimalTextBox solution:

http://download.microsoft.com/download/0/8/7/087e6a47-7306-4a5c-ad97-d1ffd58d712e/decimaltextbox.msi

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform