|
|
|
SftMask.PromptChar Property |
Defines the character used to prompt for input data.
Syntax
VB.NET |
Prompt = object.PromptChar As String |
||
VB |
Prompt = object.PromptChar As String |
||
C#.NET |
string Prompt = object.PromptChar; |
||
VC++ |
_bstr_t Prompt = object->PromptChar;
|
||
C |
HRESULT object->get_PromptChar(BSTR* Prompt); |
||
Delphi |
Prompt := object.PromptChar : WideString; |
||
VB.NET |
object.PromptChar = Prompt As String |
||
VB |
object.PromptChar = Prompt As String |
||
C#.NET |
string object.PromptChar = Prompt; |
||
VC++ |
_bstr_t object->PromptChar = Prompt;
|
||
C |
HRESULT object->put_PromptChar(BSTR Prompt); |
||
Delphi |
object.PromptChar := Prompt : WideString; |
object
A SftMask object.
Prompt
Defines the character used to prompt for input data. Only one single character can be specified. If an empty string is specified, the space (" ") character is used.
Comments
The PromptChar property defines the character used to prompt for input data.
The character defined using the PromptChar property is displayed in input fields where data has not yet been entered. It is a placeholder for "missing" or unspecified data. It is possible to use the underline character ("_") to visually indicate that the data has not yet been entered, but usually the PromptUnderline property should be used instead.
The PromptChar property has no effect if the control is used as a simple edit control (without Mask).