![]() | Type | Description | ||
| String | A string expression that defines the list of masks in the control. |
Use the Masks property to assign multiple masks to the control. Use the Mask property to assign a single mask to the control. The MaskChange event is fired when user changes the current mask. The Masks property is composed by pairs description and mask. The list of masks is delimited by ";" character. Use the VisibleMasks property to specify the number of visible items in the control's masks list.
The following sample adds two masks to the control:
Private Sub Form_Load()
With MaskEdit1
.Masks = "USA resident;(090)-###-###-###;Canada resident;(091)-###-###-###"
End With
End Sub![]()