Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

IgnoreNumMinMax Property, SftMask Object

Defines whether numeric ranges are ignored while typing characters.

Syntax

Get

VB.NETBoolean = object.IgnoreNumMinMax As Boolean
VBBoolean = object.IgnoreNumMinMax As Boolean
C#.NETbool Boolean = object.IgnoreNumMinMax;
VC++VARIANT_BOOL Boolean = object->IgnoreNumMinMax;
VARIANT_BOOL Boolean = object->GetIgnoreNumMinMax();
CHRESULT object->get_IgnoreNumMinMax(VARIANT_BOOL* Boolean);

Put

VB.NETobject.IgnoreNumMinMax = Boolean As Boolean
VBobject.IgnoreNumMinMax = Boolean As Boolean
C#.NETbool object.IgnoreNumMinMax = Boolean;
VC++VARIANT_BOOL object->IgnoreNumMinMax = Boolean;
void object->PutIgnoreNumMinMax(VARIANT_BOOL Boolean);
CHRESULT object->put_IgnoreNumMinMax(VARIANT_BOOL Boolean);

object

A SftMask object.

Boolean

Defines whether numeric ranges are ignored while typing characters.

BooleanDescription
TrueDon't check numeric ranges (as defined by the Mask property) while the user types input characters. This allows entry of temporarily invalid input. An application must explicitly use the Contents.Valid property to insure that the contents are valid.
FalseAlways check numeric ranges (as defined by the Mask property). This prevents entry of invalid input.

Comments

The IgnoreNumMinMax property defines whether numeric ranges are ignored while typing characters.

This is typically used with date/time values. For example, if a date field contains 08/28/2017 and the user wants to overtype "28" and change it to "31", the initial "3" would normally be rejected, as the date would become 08/38/2017, which is invalid. By setting IgnoreNumMinMax to True, the user can change the date. The application must explicitly use the Contents.Valid property to insure that the contents are valid (typically before extracting or saving the date value).

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.