Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about pageframe event firing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Application:
Desktop
Divers
Thread ID:
01412066
Message ID:
01412215
Vues:
47
>Hi Jon,
>
>>There are WAIT commands in the form, but they're all cleared.
>
>If there's a WAIT command, the mouse down will clear it, too. This can make it impossible to see a wait window, at all. All you notice is that the MouseDown event is ignored.


I realize I wasn't clear on this. The WAIT commands have NOWAIT NOCLEAR options with them, so there is never any pausing going on.

>> Another thing to point out is that the necessary double-click to activate the other page only happens one time.
>
>This sounds like there's some code that only runs the first time and either moves the focus or catches the mouse events. Have you tried SET COVERAGE to find out which lines are executed when you need to double click vs. when a single click is sufficient?


I did try the coverage profiler and event tracking. The coverage did not show me any valuable information in terms of when the double-click is necessary to switch pages. It just shows the click, deactivate, and activate. The event tracking showed something interesting: The first click on the other page that doesn't produce results actually shows up as MouseMove events with the left button held down, followed by a MouseUp. It seems like the mystery is why the MouseDown event isn't firing that first time.
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform