The problem I am trying to solve is that I have a grid reference that I want to mask where valid grid references are as follows:
A9, AA9, AA99, A99
So I was hoping to use a mask like the following
(?L-#9)
The problem is that I wan't the user to just be able to type A9 and that is it. Unfortunately they can't do this because even though only one letter is required and only one number is required it still has place holders for the other letter and number.
So the user has to skip the first place-holder, type a letter then a number.
Is there a way to solve my problem?
User should be able to simply type A9 or AA99 or A99 or AA9 and have them formatted as
(A-9), (AA-99), (A-99) and (AA-9) respectively without having to tab over non required place holders
Hi schnitty,
I can help only partially.
You can use two additional properties, 'DisplayMode' and 'DataMode', which control the way the Text and Value properties store their data, respectively. If you set 'DisplayMode=IncludeLiterals' and 'DataMode=IncludeLiterals' in this case - data and literal characters will be returned. Prompt characters will be omitted.
I.e. If you put in MaskEditor: _A-9_ - after lost a focus in editor will be display only: A-9 and editor value will be content 'A-9'
I hope that helps you.
Regards,Tania
Any ideas?
Event just a you can't do that would be good.