.net - Masked TextBox doesn't recognize 10 as ten -
for integer = 0 mtpig.text messagebox.show(i) next
i used maskedtextbox 2-digit mask.
if put 10, shows 0 , 1.
if put 9, shows 0-9.
why doesn't read 0 next one? (10)
how can make 10 read as ten?
update:
alright, problem prompchar:0, 0s treated prompt character , discarded value.
to solve it, either
- change promptchar _ (underscore)
- or set maskedtextbox property named textmaskformat includeprompt
goog luck!!
Comments
Post a Comment