SftMask/OCX 6.5

SftMask.PromptUnderlineNoFocus Property

Softel vdm, Inc.

Defines whether input fields are underlined when the control does not have the input focus.

Syntax       

Get

VB.NET

Boolean = object.PromptUnderlineNoFocus  As Boolean

VB

Boolean = object.PromptUnderlineNoFocus  As Boolean

C#.NET

bool Boolean = object.PromptUnderlineNoFocus;

VC++

VARIANT_BOOL Boolean = object->PromptUnderlineNoFocus;
VARIANT_BOOL Boolean = object->GetPromptUnderlineNoFocus();

C

HRESULT object->get_PromptUnderlineNoFocus(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.PromptUnderlineNoFocus   : WordBool;

Put

VB.NET

object.PromptUnderlineNoFocus = Boolean  As Boolean

VB

object.PromptUnderlineNoFocus = Boolean  As Boolean

C#.NET

bool object.PromptUnderlineNoFocus = Boolean;

VC++

VARIANT_BOOL object->PromptUnderlineNoFocus = Boolean;
void object->PutPromptUnderlineNoFocus(VARIANT_BOOL Boolean);

C

HRESULT object->put_PromptUnderlineNoFocus(VARIANT_BOOL Boolean);

Delphi

object.PromptUnderlineNoFocus := Boolean   : WordBool;

object

A SftMask object.

Boolean

Defines whether input fields are underlined when the control does not have the input focus.

Boolean

Description

True

All modifiable positions in a Masked Edit control are underlined when the control does not have the input focus.

False

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

Comments

The PromptUnderlineNoFocus property defines whether input fields are underlined when the control does not have the input focus.

Using PromptUnderlineNoFocus, 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 does not have the input focus.  The PromptUnderline property can be used to define underlining when the control has 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