Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just need a clarification on how a form is run
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255696
Message ID:
00255771
Views:
12
>I'm kind of new in the visual foxpro development environment and I'd like a clarification on something...I have converted my application to visual a few months ago and I seem to have a problem with some of the new screens that I develop...My trouble is when I call a screen (I do that by using the command DO SCREEN.SCX), the screen does not seem to stop executing. I have tried the READ EVENTS statement right after the call to no avail...
>
>Can someone explain to me what am I doing wrong here?

That's not the right command, to get your app running, should do

DO FORM mymainform
READ EVENTS

in your main PRG in your project. All subsequent form launches just use

DO FORM etc (unless you're instantiating form classes)

Then you need a CLEAR EVENTS somewhere to shutdown the application, also.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform