YOu need a READ EVENTS to stop VFP and allow the form to display. Use a CLEAR EVENTS to stop event processing and exit the application.
>Hello all! I have created a very small VFP 5.0 application with only a few forms and prgs. When I run the app in Source it works just fine. But, when I compile it and run it it crashes. I believe that I have been able to track down where it crashes:
>
>It runs a form with the code frmbase::init() in the init event of it. It goes to the class and runs through there just fine. The class has a DODEFAULT() which returns the code to the parent form init just fine. The next step is for it actually load the form for user input...but it isn't for some reason. Instead it returns to the calling line and gives me an undeclared variable error (which IS undeclared since the form never ran) Does anyone know what would cause this?
>
>TIA!!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer