I'm looking for a method to force the user to insert a negative sign in front of a number. I've tried various input masks but none seem to work and still allow a positive number to be entered. Thanks for any help.
You could also use the LostFocus event or some such and validate the result....
If the user types in a positive number, either prompt them to change it or multiply it by -1.
=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)
Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.