SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the contents are optional when no mask is defined (control contents are valid even if empty).
Get
VB.NET | Boolean = object.AllowEmptyWithoutMask As Boolean |
VB | Boolean = object.AllowEmptyWithoutMask As Boolean |
C#.NET | bool Boolean = object.AllowEmptyWithoutMask; |
VC++ | VARIANT_BOOL Boolean = object->AllowEmptyWithoutMask; VARIANT_BOOL Boolean = object->GetAllowEmptyWithoutMask(); |
C | HRESULT object->get_AllowEmptyWithoutMask(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.AllowEmptyWithoutMask = Boolean As Boolean |
VB | object.AllowEmptyWithoutMask = Boolean As Boolean |
C#.NET | bool object.AllowEmptyWithoutMask = Boolean; |
VC++ | VARIANT_BOOL object->AllowEmptyWithoutMask = Boolean; void object->PutAllowEmptyWithoutMask(VARIANT_BOOL Boolean); |
C | HRESULT object->put_AllowEmptyWithoutMask(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the contents are optional when no mask is defined (control contents are valid even if empty).
Boolean | Description |
---|---|
True | The control contents are optional. |
False | The control contents are not optional and must be entered. |
The AllowEmptyWithoutMask property defines whether the contents are optional when no mask is defined (control contents are valid even if empty).
This property is only used when the Mask property defines an input mask. Otherwise, the AllowEmpty property is used instead. It is usually best to set the AllowEmpty and AllowEmptyWithoutMask properties to the same value.
If AllowEmptyWithoutMask is set to False, the contents are considered invalid if the control is empty and the user has not entered any data.
The Contents.Valid and Contents.ValidMsg properties can be used to test the contents.
The ValidationError event occurs when invalid input is detected.
See Also SftMask Object | Object Hierarchy