Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Development Menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01222774
Message ID:
01222781
Vues:
19
Okay, Sergey, it's already working real nice. Thank you very much!

The following is what I put in the Cleanup program which I called ResetEnv.prg:
* ResetEnv.prg
WAIT WINDOW NOWAIT "Cleaning up environment..."
CLEAR
CANCEL
CLEAR MEMORY
CLEAR ALL
SET RESOURCE ON
SET SYSMENU TO DEFAULT
SET HELP ON
I did the Admin Menu Definition exactly as you stated:
* Admin_menu.prg called in Config.fpw:
DEFINE PAD padAdmin OF _MSYSMENU PROMPT "Admin"
ON PAD padAdmin OF _MSYSMENU ACTIVATE POPUP popAdmin
DEFINE POPUP popAdmin MARGIN RELATIVE COLOR SCHEME 4
DEFINE BAR 1 OF popAdmin PROMPT '\<Reset Environment'
ON SELECTION BAR 1 OF popAdmin DO C:\DEV\ResetEnv.PRG
Here's the Config.fpw file's contents:
CLOCK=STATUS
CENTURY=ON
TITLE="Get Data Development in VFP 9.0"
RESOURCE="C:\DEV\GETDATA\FOXUSER.DBF"
RESOURCE=ON
HELP=ON
DEFAULT=C:\DEV\GETDATA
TMPFILES=c:\TEMP
EDITWORK=c:\TEMP
SORTWORK=c:\TEMP
PROGWORK=c:\TEMP
_GENMENU="C:\GENMENUX\GENMENUX.PRG"
CPDIALOG=OFF
_STARTUP=c:\Dev\GetData\Admin_menu.prg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform