SftMask/OCX 6.5

SftMask.PromptUnderline Property

Softel vdm, Inc.

Defines whether input fields are underlined when the control has the input focus.

Syntax       

Get

VB.NET

Boolean = object.PromptUnderline  As Boolean

VB

Boolean = object.PromptUnderline  As Boolean

C#.NET

bool Boolean = object.PromptUnderline;

VC++

VARIANT_BOOL Boolean = object->PromptUnderline;
VARIANT_BOOL Boolean = object->GetPromptUnderline();

C

HRESULT object->get_PromptUnderline(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.PromptUnderline   : WordBool;

Put

VB.NET

object.PromptUnderline = Boolean  As Boolean

VB

object.PromptUnderline = Boolean  As Boolean

C#.NET

bool object.PromptUnderline = Boolean;

VC++

VARIANT_BOOL object->PromptUnderline = Boolean;
void object->PutPromptUnderline(VARIANT_BOOL Boolean);

C

HRESULT object->put_PromptUnderline(VARIANT_BOOL Boolean);

Delphi

object.PromptUnderline := Boolean   : WordBool;

object

A SftMask object.

Boolean

Defines whether input fields are underlined when the control has the input focus.

Boolean

Description

True

All modifiable positions in a Masked Edit control are underlined.

False

Modifiable positions in a Masked Edit control are displayed as defined using the Font property.

Comments

The PromptUnderline property defines whether input fields are underlined when the control has the input focus.

Using PromptUnderline, input fields are easily recognized by users as all modifiable positions are underlined. Even positions where data has already been entered is underlined.

Input fields are underlined only while the control has the input focus.  The PromptUnderlineNoFocus property can be used to define underlining when the control does not have the input focus.

When used with a simple edit control (without Mask), all text is underlined.


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