Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I open the menu on full screen by default

Status
Not open for further replies.

tmaycroft

IS-IT--Management
May 9, 2002
9
US
I have created a project. I have used the menu designer to design the menu. The menu is also my main program at startup. I compile and then run the exe. The menu opens in minimized mode. I can click the box on top to maximize. How do I force the default behavior to maximized.

Thanks
 
Are you referring to the VFP screen? A menu must exist either on the screen or a top-level form, and it's hard to tell which you're talking about.

If you're talking about the VFP screen, just set _screen.windowstate = 2 near the top of your main program. If you don't want it to start smaller and grow, then use a CONFIG.FPW file with SCREEN=OFF in it, and in your main program, after setting _screen.windowstate = 2 add the command _screen.visible = .T.


-BP (Barbara Peisch)
 
A minimized menu??? Now that must be one of those new features in Europa!

I will assume that you are talking about a form, similar to what BPeisch assumed, but I think your form is contained in the _screen. So on your "menu" form make sure that the windowstate property of your form is set to 0-Normal.

Slighthaze = NULL
[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top