Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right-Click in Grid
Message
De
16/06/1997 15:39:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00036542
Message ID:
00036555
Vues:
51
>> >I'm trying to implement a popup menu, which gets activated by
>> right-clicking on a grid.
>> >My routine is in the Grid's right-click event, but when editing the grid,
>> the right-click event is
>> >catched by the controls inside the grid. Is there a way to activate
>> instead the Grid's right-
>> >click event instead of me putting my code in all the controls
>> right-click?
>>
>> Basically, you need in just one line of code in each control right-click
>> event:
>> Thisform.myGrid.RightClick()
>> Moreover, you can build your own class (textbox) and use it as grid
>> controls.
>
>I think:
>
>this.parent.parent.RightClick()
>
>would be more portable (suppose you move the grid on to a pageframe).
>
>/Paul

Yes, that's right too (I really presumed to get such response typing the answer).
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform