Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu Question (running a second one)
Message
De
18/05/2008 01:44:08
Chris Sund
Silhouette Solutions
Utah, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Menu Question (running a second one)
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01317931
Message ID:
01317931
Vues:
46
Hello,

Let me preface this thread by saying I've never done anything custom with a menu. I usually use the menu designer, and Vola! Some of you may have read a previous thread I created regarding a report app that I developed. I have a main app, and then I have my report app. My report app simply runs all of my reports so if there's a report a customer needs I can simply compile that app and send it rather then compiling and sending my main app. With that said here's what I want to do...


Currently my main app references a table to get the report descpriptions. Those are displayed to the user through a combo box. I don't use the menu bar to run reports. That's however what I want to try and do. I developed a menu bar in my report app, and I want to call it from my main app. I was able to get that to work "kind of". As soon as I run the report app menu from my main app it wipes out my main app menu. Is there a way where I can simply tell the system to "Do" this menu in addition to the menu that is already running?

Here's the code that I'm running. I'm not very familiar with setting the procedure to a different app so maybe that's my problem. Any help is appreciated.
* Call from main app

SET PROCEDURE TO reporting.app show_menu additive

DO show_menu
Here's the "show_menu.prg" from within my reporting.app. I realize I probably didn't need to encase this in a seperate PRG. I've been going about this with very little menu knowledge. That's why I need some help.
do reportapp_menu.mpr
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform