Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a parameter to a menu
Message
De
01/01/2014 23:10:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Passing a parameter to a menu
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01591235
Message ID:
01591235
Vues:
93
Hi All:

How do you pass a parameter to a menu. I want to activate excel with:
loExcel = CREATEOBJECT("Excel.application")
Then I want to pass it to the menu in the following code, so that it is available to any program or form called by the menu.

High level code:
CLOSE ALL
SET MESSAGE TO 'Processing...'

SET PROCEDURE TO emailCDO, ygprocs, commonprocs
SET DELETED ON
SET DECIMALS TO 5
SET SAFETY OFF
SET TALK OFF
SET CONSOLE OFF
SET EXACT ON
SET EXCLUSIVE OFF
SET MULTILOCKS ON

loExcel = CREATEOBJECT("Excel.application")

PUSH MENU _msysmenu
DO pm.mpr
READ events
Thanks,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform