General information
Category:
Forms & Form designer
Hi:
I'm new to invoking shortcut menus with rightclick.
In my grid, I have In my rightclick method 'DO grdflocks.mpr', which is a shortcut menu. In the first option in this menu I have 'thisform.CleanupFlock()' as a procedure.
I get an error:
THISFORM can only be used in a method
I really don't want to put all of the code in the menu, because I want the same code to be called from elsewhere in the form. What is the right, elegant way to do this?
Thanx,
Yossi Gourarie
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only