Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShortCut Menu
Message
From
07/04/2002 04:17:16
 
 
To
07/04/2002 01:33:18
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00641914
Message ID:
00641918
Views:
20
>Hi All:
>
>On the right click event of a form, I have the code:
>
>
do ToolTipsMenu.mpr
>
>This works OK on the form. The short cut menu has two pads "Show Tool Tips" and "Deactivate Tool Tips".
>
>Show Tool Tips calls ShowTips.prg which has the code:
>
>
thisform.ShowTips = .f.
>
>which when run gives me a message about the word "this" being a method of the form. same issue with the Deactivate Tool Tips menu pad.
>
>The menu itself is a command "do ShowTips" and "do NoTips".
>
>What should I do to get this to work? TIA.

Either pass the form reference to the menu as a parameter (do ToolTipsMenu.mpr with this, and from there pass it again to the pad code) or use _SCREEN.ActiveForm.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform