Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear Events isn't
Message
De
29/01/2013 11:25:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01564509
Message ID:
01564531
Vues:
39
>>>>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
>>>>
>>>>Whatheheck?
>>>>
>>>>Dorris
>>>
>>>What do you have in the ON SHUTDOWN routine?
>>>
>>>Also, where do you have READ EVENTS code?
>>
>> I've never put anything in the ON SHUTDOWN even - so nothing
>>The Read Events is issued from the main program right after the DO FORM myform
>
>Try adding
>
>ON SHUTDOWN QUIT before Read Events
>
>and then
>
>ON SHUTDOWN after.

So, you're saying the code should look like
Do Form myForm
On ShutDown Quit
Read Events
On ShutDown
(finish cleanup here)
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform