>>For those interested ... some time back I posted a message saying I was setting my forms' position and size in the Init or Show methods but that some ( not all ) forms were flashing before appearing in the adjusted position/size. I finally tracked this down to doing a SetFocus in the Init or Show of the errant forms. This was forcing the Activate to fire which was flashing the form before it finally displayed in its desired position/size. I removed the offending SetFocus statement(s), the problem disappeared and life is good again. :-)
>>
>>Bill
>
>Not that I want your life to return to the bad old days, but where did you put your SetFocus() command so that your form would continue to start correctly?
You just caught me thinking of the same problem. I'd put it in the Activate(), but not as a constant object, rather as an object (p)reference, namely an index into form.controls, which would be set to the first control in the init() and set to the index of the active control on DeActivate(), just in case we have more forms open, and the user clicks around. So when the form is instantiated, the focus would go to the first control, but when we jump to another form and back, it's where it's been.