Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read Events
Message
De
23/06/2010 08:25:05
 
 
À
23/06/2010 05:24:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01470283
Message ID:
01470298
Vues:
68
>Hi All,
>
>
>From time to time I use things in Visual Foxpro that I have little understanding of but since things work pretty well I don't worry about them. Take the read events command I've used in my applications.... things appear to be working fine but to be honest I can't remember where I read or whom told me to use this command and why.
>
>What is the purpose behind using the read events ? I've assumed you want to alter the normal flow of events and to force events on the opening form to execute first.

No. READ EVENTS is a wait state. Its name is totally misleading, but its purpose is to allow you to set up your app and then sit there and wait for the user to do something.
* Do all the set-up you need
DO FORM YourMainForm

READ EVENTS

* Code down here doesn't execute until after 
* you issue CLEAR EVENTS

* Clean up
Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform