Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to position forms on screen
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00153234
Message ID:
00153318
Views:
21
>>The application I've developed allows users to have any number of forms open at the same time. However, to activate one that is currently obscured can be a problem: the user must minimize the top form or drag its title bar out of the way of the underlying form. If a third form obscures the desired one, that one must be minimized or moved also.
>>
>>The menu of the application has a "Cycle Window" bar (_mwi_rotat), which allows the user to cycle through the available forms. I have found the "Arrange" bar (_mwi_arran) to be of little help. I would like to put a "Window" bar on the menu that allows the user to select an open form by name, rather than cycling through them in sequence. How can this be done?
>>
>>Also, is it possible to have a "Cascade" function which positions the title bars of all open forms in an accessible place?
>>
>>Any other suggestions would be appreciated.
>>
>>Thanks!
>Hi Chris,
>
>I believe that if you include the _mwindow pad from generating a quick menu (and removing the options that won't be availabe such as the Command Window). VFP will take care of listing the open windows for you.
>
>As far as the Cascade feature, you'll have to code that yourself. You can use SYSMETRIC() to get the height of the title bar, and the properties of each form to adjust the top and left positions. If I recall correctly, there was a tip in a recent issue of FoxPro Advisor that showed a quick way to do this.
>
>hth,

Hello George!

I included a Windows pad (in my own menu), I named it _mwindow , but Vfp didnot take care of listing the open windows.
You wrote "quick menu", what do you mean on it?

TIA

BB
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform