Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Clear Events is ignored?
Message
 
 
À
17/09/2004 11:17:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00943400
Message ID:
00943415
Vues:
19
In the start up procedure of my program I have "On Shutdown Clear Events". Then after the Read Events I have a clean up code that closes all formas. But to get to the clean up code "Clear Events" has to be executed. But the Clear Event is ignored.

>I don't think that a modal form is in the event loop and will remain active until it is released. Try thisform.release or loop through each active forms and specifically release them. Do you use an ON SHUTDOWN procedure to release forms and do required cleanup before the application closes?
>
>>I am trying to figure out why my application (.EXE) is ignoring Clear Events statement in one form. Basically I have a modal form that has a code in a button click() method: a loop of processing the some data. I put a line:
>>
>>
Clear Events
>>
>>in the middle of the procedure but the program at run time simply ignores it. Any other place Clear Events would make the program go to the first line after Read Events, as it supposed to.
>>
>>Any idea or suggestions?
>>
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform