mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-09-08 00:40:14 +00:00
4
Mask
Fellippe Heitor edited this page 2018-01-13 10:23:12 -02:00
The Mask array defines an input mask for Textbox controls. "0" is a placeholder for a digit. Any other characters are interpreted as literals.
Mask(TextBox1) = "000-0000"
The Textbox control won't accept more characters than the total number of placeholders.
The Text array holds the formatted output. Use the RawText$ method to read only the user input values.
a$ = Text(TextBox1) 'an example output using the mask above would be "555-7038"
b$ = RawText$(TextBox1) 'the sample output above would be returned as "5557038"