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:
00304380
Vues:
19
>Hi Al,
>
>>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.
>
>In the method where you actually show the popup, put this before hand:
>
>PRIVATE poThis
>poThis = This

>
>Then use "poThis" instead of "This". Does that help? Also, for popups I use Doug Hennigs approach which involves the FFC class and is described in one of his FoxTalk articles (try the article index at www.pinpub.com/foxtalk/ for which one).

Thanks Mike, I'll give it a try and check the articles, Al\
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform