ComponentOne True DBInput Pro 8.0
AllowSpace Property (TDBMask)

 

Reference> TDBMask Control> TDBMask Control Properties> AllowSpace Property (TDBMask)

AllowSpace Property (TDBMask)

Sets/returns whether to allow space input.

Syntax

control.AllowSpace= boolean

Read/Write at run time and design time.

Remarks

If setting AllowSpace to True when an input masking field allows only SBCS characters, the field will accept only SBCS spaces. Similarly, a DBCS field will also accept only DBCS spaces.

If True - Allow spaces to be entered. (Default)

If False - Spaces will not be accepted.

If the input mask allows both SBCS and DBCS, both SBCS and DBCS spaces will be allowed.

If the AutoConvert property is set to True, a DBCS space will be automatically converted to a SBCS space or a SBCS space to a DBCS space depending on whether the field allow either SBCS or DBCS.

When the Format property is set to a zero-length string, the space character (SBCS and DBCS) will be accepted only if AllowSpace is set to True. The space character will be overridden if assigned to the Key object properties.

See Also

Format Property (TDBMask)

Format Property (TDBText)

AutoConvert Property (TDBMask)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback