Input Mask confusion

J

Jesse Aviles

I've used the input mask wizard for a long time. According to the documentation, the ! symbol
"Causes the input mask to display from right to left, rather than from left to right. Characters
typed into the mask always fill it from left to right. You can include the exclamation point
anywhere in the input mask".
What does this really means? I've observed the field and can not see what "display from right to
left" means or do. I think Microsoft should change it so that it fills from left to right.
 
V

Van T. Dinh

Create an unbound TextBox1 and another focusable Control (so that you can
move the Focus out of TextBox1), e.g.on a new Form and try with 2 InputMasks
on TextBox1:

00/???/####

and

!00/???/####

Both ImputMasks require you to type 2 digits before the 1st slash, *up to* 3
letters between the 2 slashes and up to 4 digits after the second slash.

Now, try enter enter 2 digits in the first part, 1 letter in any of the 3
positions in the second part, 2 digits in the last part and you will see the
different effects of the 2 masks.
 

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

Similar Threads


Top