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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with maximising widnows in the IDE

Status
Not open for further replies.

Mike Lewis

Programmer
Jan 10, 2003
17,505
Scotland
I've finally cracked a problem that's been bugging for years.

In some of my projects, the editing windows in the development environment fail to maximise properly. When you click the Maximise button (or press CTRL+F10), the window enlarges to fill the screen, but it does not maximise the way it should (the title bar does not merge with that of the main window, and if you subsequently close or move a toolbar or docked window, the editing window no longer fills the screen).

This happens in all recent versions of VFP, and will all kinds of windows in the IDE. Quitting and restaring VFP always solves the problem - until the next time.

Well, I've now discovered the cause. If, at any time during the session, you issue SET SYSMENU OFF, this will cause the behaviour I've described for the rest of the session (even after you switch sysmenu on again).

If you find this behaviour irritating (I do), but if you want to hide the system menu in your application, the solution is easy:

IF (VERSION(2)=0)
SET SYSMENU OFF
ENDIF

Hope this is of interest.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
I personally don't find it interesting, but I'm happy for you that you finally got the monkey off your back after all those years. ;-)

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top