PromptChar Property

       

Sets or returns the character used to prompt a user for input.

Syntax

[form.]MaskedEdit.PromptChar [ = char$]

Remarks

The underscore character "_" is the default character value for the property. The PromptChar property can only be set to exactly one character.

Use the PromptInclude property to specify whether prompt characters are contained in the Text property.

Use the AllowPrompt property to test whether a prompt character is entered by a user.

Data Type

String