Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic Questions
Message
From
20/10/1997 20:20:33
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00054586
Message ID:
00055647
Views:
33
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
Map
View

Click here to load this message in the networking platform