Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
** HELP SERIOUS PROB ** Event problems
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00236145
Message ID:
00236204
Views:
10
>Hello,
>
>We have a serious problem with VFP and the way it handles mouse clicks from a text field.
>
>Lets say we have a field called txtNAME and on the lostfocus event we have a LOT of code which fires when we leave. If the user mouse clicks on another button (let's say called btnHITME), then the first mouse click is not picked up, it seems to be lost. We then have to click on it again for the button to work.
>
>It would appear that when we click btnHITME the txtNAME field realizes we have then lostfocus, but it does not remember that we have a click on btnHITME.
>
>It is all very weird, and only happens when we run code form the setfocus, every control we move to (MOUSEY WISE) from there requires a double click.
>
>ANY AND ALL HELP WOULD BE GREATLY APPRECIATED...
>
>Keith

I haven' ever experienced this, but I suspect it's because of all the code you have in the lostfocus. Try a ocuple of things: move your code to the valid event instead to see if that makes a difference. If not, or id that is unacceptable, try a DODEFAULT() in the LostFocus after your code runs.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform