Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to position forms on screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00153234
Message ID:
00153321
Vues:
21
George--
Thanks for the information. I generated a menu based on the Quick Menu option on the Menu bar, and the resulting menu does add the open windows to the bar. Wow! There must be some code in the Quick-Menu that dynamically adds the open windows to the menu bar, though, because when I added _msm_windo to my own menu as a Window bar, nothing happens. In order to incorporate the dynamic alteration logic, do you need to start with a Quick Menu and add your own custom bars? If so, adding this feature will be time consuming, as I've got a pretty hefty menu developed already. Comments?

>>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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform