|
|
|
SftMask.PromptUnderline Property |
Defines whether input fields are underlined when the control has the input focus.
Syntax
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;
|
||
C |
HRESULT object->get_PromptUnderline(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.PromptUnderline : WordBool; |
||
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;
|
||
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.