>Finally I have found the error. Setting the windowstate-property at designtime or in the init of the form does not worh because at the end of the init-code is a setfocus-command to a control which shall be active when the program starts. When I remove this line, it works
>
>Best regards
>
>Thomas
Or, if possible, just set your control's TabIndex to 1.
----------------------------------
António Tavares Lopes