Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu pads initially enabled
Message
 
À
30/12/1997 20:53:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00068524
Message ID:
00068551
Vues:
23
>I am having trouble getting menu pads/bars to be displayed after generating a menu and issuing the command:
>
>do main.mpr
>
>I can move the mouse to the pads and select with no problem, but afer executing the commands associated with the pad (do form, report form, etc.) the bars from the menu pads all disappear and I need to move the mouse back to the pad to select again. Is there an easy way to keep the most recently selected pad and bar selected. I have viewed pad() and looke through help ... but no luck. Thanks in advance.
>
>
>Jamie F.
Jamie,

You are asking to get the menu to work in a way that is totally opposite of its design. The system menu is not a modal menu and it closes up once the option has been selected. If you want it to behave differently you will need to have each option run a procedure that in trun executes the menu action, waits for the action to end and then stuffs keystrokes into the keyboard buffer to reopen the menu to the same place.

Once you have accomplished this you will have a menu system that is totally different from the menus in every other windows application and may have users screaming at you because your app isn't like all the others.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform