Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The WHEN event.... a cheater?
Message
From
30/03/2001 16:37:14
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
 
 
To
30/03/2001 16:31:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00490451
Message ID:
00490461
Views:
10
>>Ok. It's not really a question.. it's rather something I found out while debugging... When you look at the MSDN library, it tells you that the WHEN event happend as soon as you try to get the focus, and then the gotfocus event happen.. But according to what I just experienced, THIS IS WRONG, at least for the buttons I was using. It seem that the gotfocus event happen first, then the click, AND THEN the When event..
>>

>
>Works as advertised for me. But the When() is firing again after the Click.

Well, that was my problem.. I didn't want anything to happen after the click...
Maybe it actually happen before also, but the fact that it happend adter is bad.. relly bad for me, so I used the gotfocus instead, which hapen right before the click anyway
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform