I have a simple data input form in which when the form is activated if sets focus on a textbox and sets the back color. I later have a datetimepicker control. The tab stops are coreectly set but when ever the users selects a a date from the datetimepicker the form seems to send a form activated event, because the cursur/focus moves to the first textbox instead of the next tab stop. If I comment out the "form activated" event the form functions properly. Why does this happen? Does the datetimepicker send "form activated"? How can I work around this. I want to set the focus only the first time the form is loaded, from that point on I want the tab control to dictate the navigation.
thanks