General information
Category:
Forms & Form designer
Title:
Define a POPUP in a grid method
To All
In the RightClick() method of a grid subclass I define a popup, and direct the seletion to call GridRowPop(), a method in the same grid, passing it the number of the bar seleted.
ON SELECTION POPUP GridRowPopUp THIS.GridRowPop(BAR())
When I run the form and right click the grid I am told THIS can only be used in a method.
I used the THIS word both above and below the line without a problem to define the prompts and so on. The prompts are on the menu when it pops up, but the selction bombs.
The same method works fine on a form class but the offending line is
ON SELECTION POPUP GridRowPopUp _SCREEN.ACTIVEFORM.GridRowPop(BAR())
I am trying to shift the method into the grid class level and away from the form class.
How should I say that line? Thanks
Al Allison
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