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

You can alternatively put a transparent shape over the cells of the grid. I have posted code like that here in the past. It gets kind of tricky to pass left clicks on down to the appropriate cell but it can be done. The threads where this has been discussed where "how can I keep the mouse pointer an arrow while over a grid". It's been a year or so since I've posted the code, but you should be able to click my name and go down to my message history and find it. You can search for messages containing objtoclient where I am the poster too.

>That's exactly what I didn't want to hear:( Not only would I have to subclass a textBox, but every control that I use in the grid (combobox, spinner, checkbox, etc.)
>
>Too bad there isn't a GridContainerShouldTrapMouseEventsBeforeContainedObjects property of the grid that could be set to .T. :)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform