>After aform is closed, the READ EVENTS didn't return
>control to the next line (in my case, the
>FoxPro's command window).
>
>Isn't READ EVENTS terminated automatically when there is
>no active form? For now, I must include a "CLEAR EVENTS"
>in aform.unload().
You're doing it correctly. You need to include a CLEAR EVENTS in the form when it's closed to exit the event loop (READ EVENTS). If the event loop ended whenever a form was closed, we would have a lot of trouble using multiple forms.
Michael Reynolds
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement