>I'm new to VFP. This will probably seem like a silly question. I'm stuck on the read/clear events issue. My program does a "Do Form" immediately followed by a "Read Events". I have a “Clear Events” in the UnLoad event procedure. In the form I have a Command Button that when clicked does a “Do Form” immediately followed by a “Read Events”. It also has a “Clear Events” in the UnLoad event procedure. Can these “Read Events” be nested like this? Does a “Clear Events” clear all pending events or just from the most previous “Read Events”? If they can’t be nested then how can you execute a form from within a form?
>
>Thanks.
"Read events" or "clear events" doesn't care if there is a coressponding "clear events", "read events". IOW there is nothing to nest. They start and stop event processing. Normally "read events" and "clear events" is used once per app. :
read events
Cetin