Hi All, I customized to edit Mask TextBox for validation IP address. I set Mask "000.000.000.000" and PromtChar is "_" so when enter data it appear "12_.123._34._1_" not good. I used RexgularExpressions for check a IP such as above.
if (!isRegExValid(this.Text, this.ValidationText))
Try setting the .Mask property to 099.099.099.099 The '9' indicates an optional digit. Also ensure that the .TextMaskFormat property is NOT set to .IncludePrompt
BenWillett Tuesday, August 02, 2005 12:17 AM
U should put this question in the "Window Form General" Topic.
khiemvo Thursday, July 28, 2005 2:31 AM
Try setting the .Mask property to 099.099.099.099 The '9' indicates an optional digit. Also ensure that the .TextMaskFormat property is NOT set to .IncludePrompt