Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu
Message
 
To
21/10/2002 18:22:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00713701
Message ID:
00713706
Views:
13
well, I think there are several options to do this

1. Since you are not allowed to use thisform within the menu try to send the form object as a parameter to the shorcut menu something like this:
*:RightClick event of the Grid

do yourShorcutmenu with Thisform  

*:in MyShorcutMenu.mpr
lparameter oCallingForm

define && bla, bla, bla

on selection bar 1 of MySorcutPopupMenu oCallingForm.MyFormMethod()
2.Give a name to the form when running, somthing like this
do yourForm NAME oActiveForm

*:in MyShorcutMenu.mpr

define && bla, bla, bla
on selection bar 1 of MySorcutPopupMenu oActiveForm.MyFormMethod()
hope this makes sense for u

regards
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform