Masked Text Box - Net 2.0

J

Jeff Williams

I want to use the masked text box to do the following

1. to allow a 4 digit number to be entered - mask 0000
2. to allow currency value to be entered - mask 0,000,000.00

in example 1

when I set the this.mtb_ref.text = 65 I get displayed 6500 but what I
want displayed is 65 to the right of the box. I set the mtb to align right.

in example 2

when I set the this.mtb_amount.text = 1200.00 it displays as 1,200,000.00

What am I doing wrong.
 
R

RobinS

Are you blanking out the rest of the text before tabbing out of the masked
text box?

When you tab into the box, does it select all the text so that ultimately
you end up replacing it?

Robin S.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top