I have 10 textbox and 7 command button in textbox..
the first to get focus is textbox no.2, there is a validate event in textbox 5 to 9..
and there is a command button name cmdAdd that have CausesValidation = True..
The problem is, if i just open the form and click cmdAdd, the validate event in textboxes doesn't fire, the event only fire if the textbox get focus first..
My question is, is there anyway to fire all the validate event when the focus get to the control that have CauseValidation true without the control that have validate event get focus first?
Thanks in advance..
the first to get focus is textbox no.2, there is a validate event in textbox 5 to 9..
and there is a command button name cmdAdd that have CausesValidation = True..
The problem is, if i just open the form and click cmdAdd, the validate event in textboxes doesn't fire, the event only fire if the textbox get focus first..
My question is, is there anyway to fire all the validate event when the focus get to the control that have CauseValidation true without the control that have validate event get focus first?
Thanks in advance..