Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make lostfocus fire when switching to outlook app
Message
From
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:
01491543
Views:
61
>>>>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform