Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid is disabled --why MouseMove (and other) events
Message
De
12/07/2008 09:04:27
 
 
À
12/07/2008 02:05:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01330785
Message ID:
01330812
Vues:
20
I encountered it with my custom event code being triggered.

I was able to demonstrate that it was occurring by creating a sample form with a disabled grid and using the debugger event logging.

I've already modified my code so that it checks whether the grid is disabled; was simply checking to see if I had a misunderstanding.

So, a "foible", eh?

>>Why am I getting MouseMove and other Mouse events on a grid that is disabled?
>>
>>My understanding was that if a container was disabled, none of the objects in that container would respond to events. However, I am in fact seeing MouseMove, MouseEnter, and MouseLeave events (and possibly others).
>
>According to help for the Enabled property, your understanding is correct.
>
>Having said that, grids have "foibles" - maybe you've hit one.
>
>Where are you seeing these events? In a debug trace, your custom event code being triggered, ... ?
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform