Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid activity for object under mouse
Message
De
03/04/2007 16:47:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/04/2007 15:42:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01211777
Message ID:
01211813
Vues:
25
>Is there still no way in vfp to get a grid to be aware of the mouse pointer over it? I want to be able to run the mouse over cells in a column and details from the record to be displayed elsewhere on the form, without each cell having to get clicked on, or getting focus. Thanks!

I'd try to bindevent() the MouseEnter() event of anything that's on a grid, including the grid itself, to a method on the form which would then refresh the rest (after checking whether we need to refresh or not). It'd probably work, I'm only a bit worried about possible side effects, like slowdown.

update (after 10 seconds of thinking)
Nope, wouldn't work. The records other than the current aren't exactly bound to any object, they're just an image. You'd have to calculate which record is the one under the cursor, visit it, refresh, go back to the current record. The hard part is "calculate which record".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform