Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do forms through .prg files and in forms?
Message
From
25/05/2001 16:40:52
 
 
To
25/05/2001 14:58:29
Kishor K
KPIT Cummins Infosystems Ltd.
Pune, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00511673
Message ID:
00511707
Views:
21
>Please help me on the following :
>
>1. How do i launch a form in .prg files? I did the following :
>
> do form SomeFormName
> read events
> *its not returning from the form
> *i mean the following is not printing even
> *after the form is closed with
> *close button.
> ?'Wont be prnited'
>
> The form does not seem to return to .prg after i
> close the form with close button.
>

Is your form modal? If it is, then the READ EVENTS never happens. See Thread #506381 Message #511587, where George helped me on this. If make the form run as a top-level form, this is a moot point...cause it won't be modal then.

Also, to add to what Daniel said, you can make the screen disappear by having a 'config.fpw' file with SCREEN=OFF as a line in it. See help on 'configuration file' (I think) to make sure your application uses the correct one.

Finally, you will find more examples (online and in help) if you run a menu in your main program, instead of a form:

do main.mpr
read events

HTH,
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform