Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make a shortcut menu for a grid?
Message
De
25/02/2002 11:37:34
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How do I make a shortcut menu for a grid?
Divers
Thread ID:
00624569
Message ID:
00624569
Vues:
45
Hi All,

I'm trying to make a shortcut menu for a VFP6 grid. I've created the menu using the menu designer and called it "mnuGrid". I added the following to the grid's RightClick event:

DO mnuGrid.mpr

The problem with this is that the RightClick event only gets fired when I right click on a part of the grid that does not contain columns (luckily for me, my grid layout had a part without columns). In other words, it appears to me that the controls in the columns get focus and no amount of right clicking will trigger the grid's RightClick event. I don't want to have to put the DO mnuGrid.mpr in every control of every column.

Anyone have a better idea?

TIA.

Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform