Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form not releasing VFP instance
Message
From
20/06/2000 19:43:16
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00382390
Message ID:
00382488
Views:
17
>>So the principle here is the READ EVENTS in my main.prg gets associated with the DO FORM MAIN screen and therefore the CLEAR EVENTS must be also associated ( read part of ) that form. When I put it in the MAIN.PRG the form was already closed and therefore nolonger in scope and couldn't close the events. Do I understand this correctly?
>>Terry
>
>No. READ EVENTS puts VFP into a wait state. Your application just sits at the READ EVENTS waiting for user input. To expand on what Fred said, if your system were more robust (and it probably will be one day) with multiple forms being called from a menu, then there would have to be a menu option to do this.

Sorry, for the sake of simplicity I didn't mention the rest of the app. Form Main calls many things. The people I program for are used to a main menu in the center of the screen rather than a VFP style menu so that is what I use.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Previous
Reply
Map
View

Click here to load this message in the networking platform