|
|
|
SftMask.EntrySelect Property |
Defines whether the contents are automatically selected when the control receives the input focus.
Syntax
VB.NET |
Style = object.EntrySelect As SftMaskEntrySelectConstants |
||
VB |
Style = object.EntrySelect As SftMaskEntrySelectConstants |
||
C#.NET |
SftMaskEntrySelectConstants Style = object.EntrySelect; |
||
VC++ |
enum SftMaskEntrySelectConstants Style = object->EntrySelect;
|
||
C |
HRESULT object->get_EntrySelect(enum SftMaskEntrySelectConstants* Style); |
||
Delphi |
Style := object.EntrySelect : TOleEnum; |
||
VB.NET |
object.EntrySelect = Style As SftMaskEntrySelectConstants |
||
VB |
object.EntrySelect = Style As SftMaskEntrySelectConstants |
||
C#.NET |
SftMaskEntrySelectConstants object.EntrySelect = Style; |
||
VC++ |
enum SftMaskEntrySelectConstants object->EntrySelect = Style;
|
||
C |
HRESULT object->put_EntrySelect(enum SftMaskEntrySelectConstants Style); |
||
Delphi |
object.EntrySelect := Style : TOleEnum; |
object
A SftMask object.
Style
Defines whether the contents are automatically selected when the control receives the input focus.
Style |
Value |
Description |
0 |
The selection is unchanged. |
|
1 |
The entire contents are selected, including leading and trailing literals. |
|
2 |
The contents are selected as if the user pressed the End key, followed by Shift+Home. This typically excludes leading and trailing literals from the selection, leaving the insertion point at the start of the editable contents. |
|
3 |
The contents are selected as if the user pressed the Home key, followed by Shift+End. This typically excludes leading and trailing literals from the selection, leaving the insertion point at the end of the editable contents. |
|
4 |
The contents are not selected. The insertion point is positioned at the start of the editable contents as if the user had pressed the Home key, generally past any leading literals. |
|
5 |
The contents are not selected. The insertion point is positioned at the end of the editable contents as if the user had pressed the End key, generally in front of any trailing literals. |
Comments
The EntrySelect property defines whether the contents are automatically selected when the control receives the input focus.
The EntrySelect property controls the selection. As the control receives the input focus, either through user intervention (keyboard only) or under application control, the selection is modified as defined by the Style argument.
When the control receives the input focus as a result of mouse input (left mouse button), the EntrySelect property has no effect, unless the EntrySelectMouse property is set to True.