Oct 4, 2000 #1 Shanachie Programmer Jun 18, 2000 92 US How do I get the main window of my application to open already maximized? modify window screen maximize seems like it should work but it doesn't. TIA, ShanachieQ [sig][/sig]
How do I get the main window of my application to open already maximized? modify window screen maximize seems like it should work but it doesn't. TIA, ShanachieQ [sig][/sig]
Oct 4, 2000 #2 TomasDill IS-IT--Management Sep 2, 2000 703 UA Use _screen.WindowState = 2 [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig] Upvote 0 Downvote
Use _screen.WindowState = 2 [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
Oct 4, 2000 #3 Xaplytz Programmer Jun 26, 2000 79 US Here is a sample of the code for the main program: &&code WITH _Screen .BackColor=rgb(192,192,192) .ControlBox=.t. .scrollbars=3 .autocenter=iif(sysmetric(1)>=800,.t.,.f.) .picture =iif(sysmetric(1)>=800,"pice2.jpg","pic4.jpg" .Height=425 .Width=600 .Caption = "My Program" .WindowState= 2 &&”to MAX the screen” .icon="icon.ico" .windowtype=1 ENDWITH &&endcode see the help for WindowsState property and _screen for more information [sig][/sig] Upvote 0 Downvote
Here is a sample of the code for the main program: &&code WITH _Screen .BackColor=rgb(192,192,192) .ControlBox=.t. .scrollbars=3 .autocenter=iif(sysmetric(1)>=800,.t.,.f.) .picture =iif(sysmetric(1)>=800,"pice2.jpg","pic4.jpg" .Height=425 .Width=600 .Caption = "My Program" .WindowState= 2 &&”to MAX the screen” .icon="icon.ico" .windowtype=1 ENDWITH &&endcode see the help for WindowsState property and _screen for more information [sig][/sig]
Oct 5, 2000 #4 jfherring Programmer Oct 5, 2000 16 US Use this code in your main program: ZOOM WINDOW SCREEN MAX Upvote 0 Downvote
Oct 5, 2000 #5 jfherring Programmer Oct 5, 2000 16 US sorry for the post, had to register myself and log back on as a programmer [sig][/sig] Upvote 0 Downvote
Oct 5, 2000 Thread starter #6 Shanachie Programmer Jun 18, 2000 92 US Thanks! It did the trick! Shanachie [sig][/sig] Upvote 0 Downvote
Oct 5, 2000 #7 jfherring Programmer Oct 5, 2000 16 US no problem! good luck with the project! [sig][/sig] Upvote 0 Downvote