General information
Category:
Forms & Form designer
I tried using READ EVENTS prior to sending out my original message and got the same results, the application immediately quits. However, setting the WindowType property to Modal did the trick!!
Thanks Josh for the info!
>You need to tell VFP to wait for the form to complete before continuing with processing. There are two ways to do this. One is to change the form's WindowType property to Modal. The other is to use READ EVENTS. The program that calls the form would look like this:
>
>DO FORM MyForm
>READ EVENTSWhen the form is closed you'll need a CLEAR EVENTS to make sure execution continues after the READ EVENTS line.
>
>>I used the form designer in VFP 3.0 Professional to create a form which works fine winthin VFP. When I "BUILD EXE", the resulting application just flashes the form on the screen and then quits. I've added a prg to call the form (DO FORM) to the project but still get the same results.
>>
>>Any help on this would be appreciated, Thanks in advance.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only