You don't need CLEAR EVENTS in the Exit Button. Just ThisForm.Release().
There's no Foundation Read in VFP. You cannot build a Foundation Read with READ EVENT and CLEAR EVENT, and you don't need to. Foundation Read was only a "work around" in 2.6.
Basically, in VFP, you need only one READ EVENT, one CLEAR EVENT by app. Look at Tastrade sample to understand how it works in VFP.
Vlad
>Process is as follows -
>Startup Code
>* Do Form Main, read event && FOUNDATION
>** Button on Main = Do Form ParChild, read event
>** Exit Button on Form ParChild = thisform.release, Clear Events
>* Clear Event && FOUNDATION
>Cleanup Code
>The foundation read for the main form is Cleared w/o permission.
>
>Thanx - Ed B
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only