Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Lostfocus event of VFP screen, does it?
Message
From
27/01/2003 17:24:01
 
 
To
27/01/2003 04:01:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00744598
Message ID:
00746019
Views:
48
>Hi!
>I try your codes again. As a result the gotfocus method gives a good effect, and the lostfocus method is late a step: then I jump to another application, I do not see any change. However, when I return to click on the main window of VFP, I see the message "lostfocus", and I click secondly on the main window of VFP, I see the message "gotfocus". In addition, if I click on a child window of the main VFP windows, I get anything!
>Some lines give you more information.
>Finally, I cannot apply these codes in my application yet because I get the above problems.
>Best regards!
>Canh

Even at my work computer, I get inconsistent results. With Excel, it seems fine, but with Word, it doesn't trigger the LostFocus at all (similar to what you're seeing). My home system seems to work exactly the same in all cases, the same as what you're seeing. I guess that methodology just doesn't work well enough to use outside of VFP. I have a strong suspicion that since VFP doesn't use real Windows controls, this could be contributing to the problem. Sorry.

I still haven't figured out what's different from home and work, they should function the same, but don't. Both my home system and work system are WinXP/SP1 and VFP7/SP1.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform