Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu weirdness
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01367001
Message ID:
01367138
Views:
11
Use READ EVENTS as it is intended to be used.
******************************************************
*******************************************************************
*  Description:  This program will create the POS menu that appears 
*                at the top of the screen, it will also cycle back
*                after every selection is completed.
*******************************************************************
PROCEDURE MAINPOPS

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"         

ON SELECTION PAD _Cash_Reg  OF &Main_Menu DO Regtemp
ON PAD _Inventory OF &Main_Menu ACTIVATE POPUP Inventory
ON PAD _Utilities OF &Main_Menu ACTIVATE POPUP Utilities
ON SELECTION PAD _Exit      OF &Main_Menu CLEAR EVENTS

ACTIVATE MENU &Main_Menu
READ EVENTS

RETURN
Previous
Reply
Map
View

Click here to load this message in the networking platform