Navigation:  Reference > Form Objects > Property Editors >

Edit Mask Property Editor

Print this Topic Previous pageReturn to chapter overviewNext page

 

This editor is displayed when the user clicks on the button in an EditMask property in a TTASEnter, TTASDGItem or TTASDGColTemplate object.  The editor, displayed below, has some standard masks and will show you what the mask will look like:

 

 

 

ACTIONS

 

Input Mask

This is the actual mask that will be saved in the property.

 

Character for Blanks

What character to use for blank spaces.  The default is an underscore.  If you want to use a space you must enter a space.  A blank will be replaced with an underscore.

 

Save Literal Characters

If this option is checked the extra characters, such as the parentheses in the phone number, will be saved as part of the field.  This means the field must be a type A (alpha) field.

 

Test Input

A display of what the input field would look like.

 

This is a list of pre-defined masks.  To choose one of these click on the appropriate line.  All the values will be changed to match your choice.

 

OK

This will return to the design mode.  Any mask will be saved to the property.

 

Cancel

This will undo any changes made since the last time the editor was loaded.

 

COMMENTS

The following characters can be used in a mask:

 

!Non-literal characters are leading blanks.  If this character is not included non-literal characters are trailing blanks.

 

>All characters after this are forced to upper case.

 

<All characters after this are forced to lower case.

 

<>The case is not changed from what the user enters.

 

\The character immediately following this is a literal character.

 

LUser must enter A-Z or a-z in this position.

 

lUser may enter A-Z or a-z in this position (lower case L).

 

AUser must enter A-Z, a-z or 0-9 in this position.

 

aUser may enter A-Z, a-z or 0-9 in this position.

 

0User must enter numeric character in this position.

 

9User may enter numeric character in this position.

 

#User may enter numeric character or sign (+ or -) in this position.

 

:This represents the standard time divider.  This may change depending on the user's country information.

 

/This represents the standard date divider.  This may change depending on the user's country information.

 

The mask is made up of three sections divided by semi-colons (;).  The first is the actual mask, the second is either 1 (save the literal characters) or 0 (don't save the literal characters).  The third part is the character to be used as the blank character.

 

NOTE:  Make sure that there are no spaces before the leading "!" in the EditMask field.  If there is your data will not display properly.  If you use the built-in EditMask editor it may put an extra space at the beginning of the mask.

 

 


Page url: http://www.cassoftware.com/tas/manual/editmaskpropertyeditor.htm