Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question on Read/Clear events
Message
From
15/09/1999 10:36:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00264859
Message ID:
00264926
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform