Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Samuel Gomes edited this page Nov 25, 2022 · 2 revisions

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"
Clone this wiki locally