Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox with numeric value
Message
Information générale
Forum:
C#
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01654646
Message ID:
01654649
Vues:
58
>>>Hello all.
>>>Is there a way to enter only digits in a texbox like 999,999.99 in foxpro?
>>>I've been seeing videos in youtube but none of them explain how to use decimals.
>>
>>Where do you have your textbox? What type of application you're building?
>
>In a winform. Is a desktop application that connects to sql server.

Simple search gives this link

https://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

and

https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/how-to-set-the-input-mask

I hope it will be enough to get you started. I don't work with Windows Forms myself.

And see also

https://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask(v=vs.110).aspx
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform