>>Hey Guys
>>
>>This is an issue I usually don't have a problem with, but here it is
>>
>>Application starts,
>>VFP desktop hidden
>>Main form fires off
>>Main form issues Clear Events and closes
>>
>>(Update)
>>After the Clear Events is issued and before the form closes, it goes through the GotFocus of a textbox (the only interactive object on the screen)
>>
>>VFP desktop doesn't Clear - get 'cannot close FoxPro' window
>
>What does a trace show you. What happens in GotFocus? What code runs after that?
>
>Try scattering a bunch of DEBUGOUTs in the code along with turning on the event tracker to see exactly what's happening. If that doesn't give you the necessary clue, try running with coverage on and walk through the coverage log to see exactly what's happening.
>
>Tamar
Coverage file shows it hitting the Clear Events and then going back to the Read Events in the main.prg
I'm beginning to think this app thinks I'm kidding about that whole 'No, I want you to close out now' thing.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place