In your "main" program before you call your application or form place this line of code:
_Screen.WindowState = 2
>Hi all... after a whole afternoon of frustrating experimenting I partially solved the problem I asked before. The problem was that the main form wasn't loading from my main.prg. Or rather it was, but not visible. The problem apparently was an:
>APPLICATION.VISIBLE.=.F. line in my code. The strange thing is that this is a newer version of an old application, using the same tables and thus the main.prg is virtually identical in both cases, and it did work in the previous application. Only thing that changed was the interface, which is now a single form with a pageframe control and 8 pages. Anyway, my last problem now is:
>I can now start the application but it does in a small window. It forces the user to manually maximize the window, but then the areas that weren't shown appear blank, which forces the user to open another page in the pageframe so that the first page draws complete. I hope this is clear enough.
>How to make the application start maximized? I have the Tools/Options/Forms/Maximum Design Area set to 1024 x 768
>TIA for your time
>Ulises.