>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