MSI Factory 2.3

MaskedEdit Properties

MaskedEdit Properties

Previous topic Next topic  

MaskedEdit Properties

Previous topic Next topic  

MSI Factory

The MaskedEdit Control is an edit field control containing a mask in the text field. It can be used to create a template for user information such as a telephone number or Product ID code.

Text

Text:

The localizable text and mask to use in the MaskedEdit control. For example, <(###) ###-####>. For editable characters, the control creates separate edit windows with one window for each block of characters of the same kind.

The following table describes the supported syntax of a mask. Any other character is treated as a literal constant:

<

The left end of the visible segment of the mask. This character and everything to its left are hidden in the edit field. There should be no more than one instance of this character in the mask.

>

The right end of the visible segment of the mask. This character and everything to its right are hidden in the edit field. This character is replaced by a dash during validation. If there is a visible item that begins with <, then it must be terminated with a matching >.

#

This character can be a numeric digit.

%

This character can be an alternate numeric digit that enables the mask to control the way a custom action differentiates fields.

@

This character can be a random numeric digit. This character should not appear in the visible part of the mask.

&

This character can be any character.

^

This character can be an alternate character enabling the mask to control the way a custom action differentiates fields.

?

This character can be an alternate character enabling the mask to control the way a custom action differentiates fields.

`

Grave accent marks ` (ASCII value 96) can represent an alternate character enabling the mask to control the way a custom action differentiates fields.

_

This character is a literal underscore character.

=

This character is the field terminator. It must follow a #, %, ^, or `. This creates one more input position of the same type as the preceding positions and terminates the field with a '-' separator.

Property

Property name:

The name of the property to associate with this control whose value you want to set. If the Indirect checkbox is checked, this is the name of another property to set. Properties can be created and managed on the Properties tab of the Project Settings dialog (Project > Settings).

Indirect

If checked, the Property name is the name of another property, not directly associated with this control. If unchecked, the Property name is associated with this control.

More Information

MSDN Online: MaskedEdit Control

MSDN Online: Controls

MSDN Online: Control Table

WiX Help File: Control Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us