Hi All
Still learning this rather large paradigm - vb.NET. I have discovered that the button control event sequence is not the same as the textbox control. The enter event is not fired when the button is clicked and the validated event is not fired following the click event. I wrote a simple program with one button (no other controls). The button's enter event is fired when the form opens. The button's click event is fired when the button is clicked. The button's validated event is fired when the form is closed. I normally set the backcolor of the control during the enter event and set the "next control focus" with the .select method in the control's validated event. Is it standard practice that all of this must be done in the click event itself and if that is the case why is the button control so different from the textbox? Any enlightenment would be greatly appreciated.
Respectfully,
Ideprize
Still learning this rather large paradigm - vb.NET. I have discovered that the button control event sequence is not the same as the textbox control. The enter event is not fired when the button is clicked and the validated event is not fired following the click event. I wrote a simple program with one button (no other controls). The button's enter event is fired when the form opens. The button's click event is fired when the button is clicked. The button's validated event is fired when the form is closed. I normally set the backcolor of the control during the enter event and set the "next control focus" with the .select method in the control's validated event. Is it standard practice that all of this must be done in the click event itself and if that is the case why is the button control so different from the textbox? Any enlightenment would be greatly appreciated.
Respectfully,
Ideprize