Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
READ EVENTS
Message
 
À
17/10/1998 23:30:48
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00147894
Message ID:
00147898
Vues:
27
What you've observed is by design. READ EVENTS is not terminated when there is no active form. This allows you to just put up a menu and wait for the user to select an option. You'll need to CLEAR EVENTS if you want VFP to go to the next line. If all you're doing is displaying a form and waiting for the user to close it, you can dispense with the READ EVENTS altogether by making the form modal.

>Just in my path to migrate to Visual FoxPro.
>
>in a simple program like this:
>
>aform=createobject("form")
>aform.show()
>read events
>
>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().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform