Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define a POPUP in a grid method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Define a POPUP in a grid method
Divers
Thread ID:
00304356
Message ID:
00304356
Vues:
39
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
Fil
Voir

Click here to load this message in the networking platform