Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menus in VFP5 -- Which one is popped up?
Message
De
04/08/1999 12:22:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Menus in VFP5 -- Which one is popped up?
Divers
Thread ID:
00249813
Message ID:
00249813
Vues:
68
I've got a custom menu in a VFP5 app that we're supporting, and one of the UI issues we have with it is that the client wants the last menu item selected to be popped up again after the screen that it runs compeletes running.

For example, if we use File->New to create a new file, do a bunch of stuff in the file, and then close it, the client wants the 'File' menu to be popped back up, and the 'New' menu item highlit, ready to be selected by a simple ENTER.

An additional wrinkle is that the system does regular housekeeping which results in any menus that are currently popped up being closed.

The problem comes in trying to determine what is the currently-open (i.e., popped-up) menu, and ideally, the currently selected menu item of that popup.

I've tried reading POPUP() and BAR() and the like, but they only seem to be populated AFTER an item in the popup has been selected.

I need to know that "right now, the user has the Edit menu open, and the Copy menu item is selected". That way, I can preserve that information and restore the menu state when the time is right.

Any leads on calls or even internal VFP stuff I can use to determine this?

-- jas
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform