Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me
Message
 
To
30/10/1998 17:37:46
Charlie Davies
McIntire School of Commerce
Virginia, United States
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00153067
Message ID:
00153081
Views:
28
DEFINE POPUP ShortCuts FROM MROW(), MCOL() SHORTCUT

DEFINE BAR 1 OF ShortCuts PROMPT '\DEFINE BAR 2 OF ShortCuts PROMPT '\DEFINE BAR 3 OF ShortCuts PROMPT '\DEFINE BAR 4 OF ShortCuts PROMPT '\-'
DEFINE BAR 5 OF ShortCuts PROMPT 'E\

ON SELECTION POPUP ShortCuts _SCREEN.ActiveForm.RunShortCuts()

ACTIVATE POPUP ShortCuts



This requires that you have a method named
"RunShortcuts" on your form.



In the "RunShortcuts" method use:

** Define variables
LOCAL cPrompt
cPrompt = UPPER(PRMBAR('ShortCuts', BAR()))

DO CASE

CASE cPrompt = 'OPEN'

CASE cPrompt = 'CLOSE'

CASE cPrompt = 'SAVE'

CASE cPrompt = 'EXIT'

ENDCASE

RETURN
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform