Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement