Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read events & clear eventsf
Message
De
13/02/1997 22:37:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00019574
Message ID:
00020491
Vues:
46
>>>>Hi guys,
>>>>Do you ear about a bug or something else that when you did a clear events; the program return to execute the read events command instead of the next line
>>>>
>>>>EX
>>>>
>>>>MAIN.PRG
>>>>
>>>>App = createobject("application")
>>>>READ EVENTS
>>>>...
>>>>
>>>>in the menu QUIT
>>>>IF App.Release()
>>>> CLEAR EVENTS
>>>>ENDIF
>>>
>>>Check the TasTrade sample for one way of doing things.
>>>
>>>What I do:
>>>
>>>1. "READ EVENTS" is in oMyApp.Do()
>>>2. In the Exit/Quit option of the menu:
>>>if oMyApp.CleanUp()
>>> Release oMyApp
>>>endif
>>>3. In oMyApp.CleanUp() I call QueryUnload for all forms. If all QueryUnload methods return .t.:
>>>CLOSE DATA ALL
>>>CLEAR EVENTS
>>>and return .t.
>>>
>>>It works fine. I never had your error since I'm using it (10 months).
>>>
>>>Vlad
>>
>>Think's body
>>
>>I will Try it and give you some news
>>I'm sorry for the delay but i had to resolve some urgency
>>
>>Rocky Boy ...
>Thank's Very Much Guys
> it work's !!!

You're welcome!

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform