Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question on Read/Clear events
Message
De
15/09/1999 10:36:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00264859
Message ID:
00264926
Vues:
23
>Alan,
>
>No read events is a one per application thing. It tells VFP to let the user work and to not continue with the code until the user does something. For example;
>
>
>* Aplication Start Up Program
>SET ...
>
>DOMyMenu.mpr
>
>READ EVENTS
>
>CLOSE ALL
>CLEAR ALL
>RETURN
>
>
>In this program fox will set the settings, then it will run the menu and then it will stop until something says CLEAR EVENTS. After a CLEAR EVENTS the code above will continue and shut down the application.
>
>Additional READ EVENTS are completely ignored by VFP.


Jim,
Sorry but disagree if I'm reading you right. VFP doesn't ignore additional "read events". It only ignores if already a "read events" is in effect :
....
do myprg.prg
read events

* After a Clear events
do mymenu.mpr
read events && Not ignored

* myprg.prg
read events  && Ignored
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform