Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make lostfocus fire when switching to outlook app
Message
 
To
02/12/2010 07:57:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01491380
Message ID:
01491652
Views:
172
>>>>>Or any other app outside of the vfp app. If focus is on a textbox on a form, and the user clicks on outlook, how to make the lostfocus of the textbox fire. It only seems to fire when clicking on any other form inside the vfp app....
>>>>
>>>>Hi Tracy, I haven't done much VFP for a while but from memory the Deactivate event of the Form should fire when you click on another form - you could put your textbox LostFocus code in a common Method and call it from the Deactivate event of the form ( got to be worth a shot ) .
>>>>
>>>>HTH
>>>
>>>It doesn't fire when you switch to another program, only when you switch to another VFP form.
>>
>>Thanks Tore - I just read the whole thread :-)
>
>The solution app has an example of trapping when the application deactivates and activates. It was a good place to start for me. Found it (with Naomi's help) here: Thread Message #1482141


Hi Tracy, completely off topic - have you been on the island during race periods ?
Regards,
Peter J. Kane



Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform