|
|
|
SftMask.DefaultHandling Property |
Defines the default text handling.
Syntax
VB.NET |
Style = object.DefaultHandling As SftMaskDefaultHandlingConstants |
||
VB |
Style = object.DefaultHandling As SftMaskDefaultHandlingConstants |
||
C#.NET |
SftMaskDefaultHandlingConstants Style = object.DefaultHandling; |
||
VC++ |
enum SftMaskDefaultHandlingConstants Style = object->DefaultHandling;
|
||
C |
HRESULT object->get_DefaultHandling(enum SftMaskDefaultHandlingConstants* Style); |
||
Delphi |
Style := object.DefaultHandling : TOleEnum; |
||
VB.NET |
object.DefaultHandling = Style As SftMaskDefaultHandlingConstants |
||
VB |
object.DefaultHandling = Style As SftMaskDefaultHandlingConstants |
||
C#.NET |
SftMaskDefaultHandlingConstants object.DefaultHandling = Style; |
||
VC++ |
enum SftMaskDefaultHandlingConstants object->DefaultHandling = Style;
|
||
C |
HRESULT object->put_DefaultHandling(enum SftMaskDefaultHandlingConstants Style); |
||
Delphi |
object.DefaultHandling := Style : TOleEnum; |
object
A SftMask object.
Style
Defines the default text handling.
Name |
Value |
Description |
0 |
Immediate - If the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control. |
|
1 |
Delayed - When the control loses the input focus and the control's contents are empty, the default text defined using the DefaultText property is restored as the default value in the control. |
Comments
The DefaultHandling property defines the default text handling.
The DefaultHandling property determines when the control contents are inspected and, if empty, the DefaultText property value is assigned to the Text property. If the DefaultText property is empty, the DefaultHandling property has no effect.
See Also SftMask Object | Object Hierarchy