>>>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
>>
>>May be GotFocus / LostFocus events of the main form?
>
>Not GotFocus / LostFocus nor Activate/Deactivate. No events fire when I move from or return to the app.
How exactly you're moving from and to? Do you minimize the form?
If it's not broken, fix it until it is.
My Blog