By the way, the problem is not that the control loses focus after Load, or somehow does not have the focus during Load. This combo box is first on the tab list.
Also, as stated in the error message when it was attempted to open the combo box without the focus, "You can't reference a property or method for a control unless the control has the focus."
Main Topics
Browse All Topics





by: JDettmanPosted on 2009-10-28 at 06:59:18ID: 25683261
I'm not sure why that would be the case. At the point of the Onload event, all controls should be instantiated and good to go.
What exactly happens?
And as a suggestion, to see if it is control creation related, try a Me.Repaint before the command in place of timer. If that works, then it would seem the control is not available as yet.
JimD.