>Thanks for your help. I changed desktop to .T. but that does not help.
>
>Best regards
>
>Thomas
Neither Desktop nor ShowWindow properties affect the maximization process. I just included it because you mentioned a Top Level form. You can leave them in their default state.
----------------------------------
António Tavares Lopes