Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MouseEnter
Message
 
À
24/02/2012 14:08:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01536382
Message ID:
01536493
Vues:
38
Dragan,

Try "WAIT WINDOW 'Move the mouse now!' NOWAIT" and then move the mouse, you'll see it disappears immediately, no need of click or keypress despite of what the help says.

I agree about using some silent logging instead of using the GUI, that is what I use too.

>Wait waits for a click or keypress, and shouldn't be sensitive to mouse movements. However, it can interfere with MouseEnter, as it's a window unto itself, and its (implied) .show() may disturb the events, your form may briefly lose focus and generally gets in the way. I suspect the same with your
>ACTIVATE SCREEN, which would fire .deactivate() of the current form. Even though are supposed to happen after the observed event occurs, they may influence the events which should happen next.
>
>For tracking stuff like this, I don't even trust the debugger, as it's a set of windows unto itself, and interferes with activate/deactivate because it takes focus. I'd rather do some silent logging - event tracking, coverage, my own logging, debugout - whichever is handier at the moment.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform