Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events when leaving/returning to an APP
Message
From
08/07/2014 16:41:15
 
 
To
08/07/2014 16:18:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603349
Message ID:
01603352
Views:
57
Likes (1)
Jim,

check Tools->Task Pane Manager->Solution Samples->New in Visual FoxPro 9.0->Binding to Windows Message Events. One of the events in the samples is "application switching", sounds like what you are looking for.

>I have a little app that has one form running with DeskTop = .T.
>
>Once I have moved off the app to do anything else, I would like to have a timer running to update the caption (a simple count of items).
>
>When I return to the app, I want to refresh the grid.
>
>However, there don't seem to be any events that fire when I leave the app or return to it.
>
>Suggestions, anyone?
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform