Please note: In an effort to better serve you, we are in the process of restructuring DevCenter.
In the process, we have moved many items that you may be used to finding in DevCenter over to the
Main Site. If you are having trouble locating something,
please try looking at the following places:
This article outlies the use of the MaskInput property.
In many applications, the user should be limited to inputting certain characters within an editor. The DateTimeEditor, UltraNumericEditor and UltraCurrencyEditor provide a MaskInput property which can be used to determine which characters are valid input while ignoring invalid keystrokes.To limit the allowable characters entered into the editors, set the MaskInput property. The mask specified below will only allow numeric characters and stipulate that two decimal places be supplied. The characters used in creating the mask are consistent with Visual Basic formatting standards. For a complete list of the characters that may be used in the input mask, see Input Mask Characters below.When setting a mask, you may also want to use the MaskDisplay property to determine how the mask is viewed or if prompt characters should be displayed.In VB:
Consult the product Help files for characters to be used within the mask.