Information générale
Catégorie:
The Mere Mortals .NET Framework
The MaskedTextBox works great for a phone number or zip code where everything is entered nice and neat. However, it seems to me that if you're entering a number (24,332.12) it would be nice to be able to just start typing and when you hit the decimal point everything would line up for you. I also allow for a prefix ($) and a suffix (%). I am using the text property to return the displayed string and the Value property to return the numeric value.
When I started on this little project I hadn't considered that I couldn't change the BindingProperty.
Jeff
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement