SftMask/OCX 6.5

SftMask.PromptChar Property

Softel vdm, Inc.

Defines the character used to prompt for input data.

Syntax       

Get

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;
_bstr_t Prompt = object->GetPromptChar();

C

HRESULT object->get_PromptChar(BSTR* Prompt);

Delphi

Prompt := object.PromptChar   : WideString;

Put

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;
void object->PutPromptChar(_bstr_t 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).


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com