>The activex is not on the SDI form that is launched, but on a form that is tied to the _SCREEN and always on bottom (it gives an Outlook-like background to the application). When the application is run without this activex background, the result is still the same: the first time an SDI form is opened, it is hidden by the main screen.
>
>To give some more detail: The main menu is tied to the _SCREEN, on of its items calls a method of the application object to show the SDI form. This method checks if there is already an instance of the SDI form and creates one if needed. Then the forms Show() is called:
>
>WITH THIS
> IF (ISNULL(.oAdr)) OR (VARTYPE(.oAdr) <> "O")
> .oAdr = CREATEOBJECT("frmKV")
> ENDIF
> .oAdr.Show()
>ENDWITH
I cannot reproduce this, using simple forms but with the same sequence. Can you see if it's form-class related? That is, create a very simple top-level form, and in the code just use:
DO FORM mySDI
and see if it still occurs.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.