Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Menu!
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Disappearing Menu!
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01355475
Message ID:
01355475
Vues:
71
Hey Gang!

Today, a fellow programmer gave me this problem to solve.

He has an older program that is being updatted. In it is an old Menu.

From pos_strt.prg we have.
BLAH, BLAH, BLAH....

DO Mainpops WITH .F.
READ EVENTS 

DEACTIVATE MENU Main_Menu
RELEASE MENU Main_Menu EXTENDED

SET SYSMENU TO DEFAULT

MORE BLAH, BLAH, BLAH....
In the MainPops.prg we have...
PROCEDURE MAINPOPS
PARAMETER _EXITPOS

CLEAR

*main_menu = "Main_Menu"
SET SYSMENU TO 
main_menu = "_mSysMenu"

DEFINE MENU &Main_Menu

DEFINE PAD _Cash_Reg  OF &Main_Menu PROMPT "\<Cash Register"
DEFINE PAD _Inventory OF &Main_Menu PROMPT "\<Inventory"    
DEFINE PAD _Utilities OF &Main_Menu PROMPT "\<Utilities"    
DEFINE PAD _Exit      OF &Main_Menu PROMPT "E\<xit"         


BLAH, BLAH, BLAH.......

ACTIVATE MENU &Main_Menu

_EXITPOS = .F.

RETURN

*******************************************************************
PROCEDURE CHECKSUSP 		&&REMOVE AFTER SEPT RELEASE
=ALARM(2)					&&REMOVE AFTER SEPT RELEASE
WAIT WINDOW "Option replaced by Maintenance / Customers" TIMEOUT 2
The menu comes up fine.... but when you click outside the program, like on the TaskBar or somewhere on the desktop outside the program, the Menu disappears and is gone!

Any ideas why???

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform