>>>What can cause the form GotFocus() event not being executed when the form load?
>>
>>Could you use the activate event rather than the gotfocus, so interference from another control would not upset it?
>
>I have code in the Activate() as well. This is executed first. Then, after the Activate(), the form event firing sequence execute the Refresh() and GotFocus().
If there is any control on the form then that control will getfocus rather than the form, which is only logical.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope