Hi all,
We have an application that has been migrated from VB6 to VB.NET. We have created Masked Edit Custom Control with additional behaviors to the Masked Edit control. Also, we have some validaton that validates the text entered into the custom control during the Leave
event of the control.
The Event works properly when we tab out of the control, the problem is we use a bottom form which has buttons to navigate to other forms, hence when we click either the next button the validation event fires twice for the first time, other times it is working perfectly.
I have been searching about this odd behaviour of the control, but couldn't find any proper solution for this.
Hope I get some solution here.
Thanks in advance.