Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return to last menu selection
Message
From
13/09/2006 13:20:08
 
 
To
13/09/2006 10:37:36
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01153326
Message ID:
01153440
Views:
18
>I would like my application to return to the last menu selection after the processing is completed. In other words, the user selects Department, Documents, Pre Sale Documents, Selected document (from the menu selections). After that document prints (There is additional input required), I would like the menu to stay on that last selection instead of the user having to start all over again.
>
>Is there a way to do this?
>

You could send all menu choices through a common program that records the menu choice (say, in application object properties) and then makes the appropriate call.

You could also use the ON EXIT MENU command to set up a program that just saves the menu choice. However, you'd either have to do this manually or write yourself a GENMENUX driver to add the ON EXIT MENU commands.

One more thought. You might be able to do something with BindEvents(), but that's the trickiest here because a menu selection doesn't fire an event, so you'd have to use an event from whatever gets called.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform