Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcutmenu
Message
From
12/05/2016 16:36:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Shortcutmenu
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Miscellaneous
Thread ID:
01636289
Message ID:
01636289
Views:
62
Hi,

I have this application working with shortcutmenu's to do a specific method on the form. Right now there is coding with public variables:
public pcSelection
do shortcut1.mpr
on the shortcut menu bars yopu will find: in the bar - PROCEDURE and the procedure reads: pcSelection = 'NewList' a.s.o.
do case
case pcSelection = "NewList"
thisform.createnewList()
endcase

All works well however I would like to get rid of the public-variable's
do we have an other solution to activate a method on myForm upon selection of a shortcutmenu bar?

Regards,

Koen
Next
Reply
Map
View

Click here to load this message in the networking platform