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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement