Victor Charles
asked on
Help with formatting Masked textbox
Hi,
I am using the following mask in my masked Texbox &999 as the first characters. I need to modify it as follows: &999: &&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&
to allow users to enter max 200 characters, I will force users to enter &999 as first 4 characters but how for I place symbol ":" and space, before they enter the text?
Thanks,
Victor
I am using the following mask in my masked Texbox &999 as the first characters. I need to modify it as follows: &999: &&&&&&&&&&&&&&&&&&&&&&&&&&
to allow users to enter max 200 characters, I will force users to enter &999 as first 4 characters but how for I place symbol ":" and space, before they enter the text?
Thanks,
Victor
ASKER
is it possible to just use one textbox and check each line in the textbox to make sure the user enters also enters data in the following format +999/-999?. Also I notice icouldn't expand the height of the masked edit control, can that be done? The problem with inserting data in two controls is I would need to save data from both controls to one data filed, it would be a lot easier if I could do it from one control.
Thanks,
Victor
Thanks,
Victor
>>The problem with inserting data in two controls is I would need to save data from both controls to one data filed, it would be a lot easier if I could do it from one control.
Not a problem compared to having a masked text box trying to achieve what you want.
Not a problem compared to having a masked text box trying to achieve what you want.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
-your existing masked textbox
-a plain textbox with a maxlength of 200