>>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.
Thanks Antonio. I will give it a shot.
- Ravi
True greatness consists in being great in little things.
- Charles Simmons