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
Divers
Thread ID:
00304356
Message ID:
00304570
Vues:
18
>Al,
>
>Your ON SELECTION assignment is defined in memory and is attached to teh POPUP menu. The code does not reside inside of the grid object and therefore cannot use THIS as THIS is not defined for that code. You can use _SCREEN.ActiveForm.Groid1.GridPopup() because the _screen is a variable reference to the object and not a relative address like THIS or THISFORM.
>
>You can use THIS on the line before or after teh ON SELECTIONbecause that code runs within the context of the grid object. The ON SELECTION code runs outside of the context of the grid object.

Thanks Jim, I suspected it was something like that but could not get it to go. Now I understand.

Mike's suggetion worked fine.

Thanks again, Al Allison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform