Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do forms through .prg files and in forms?
Message
De
25/05/2001 16:40:52
 
 
À
25/05/2001 14:58:29
Kishor K
KPIT Cummins Infosystems Ltd.
Pune, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00511673
Message ID:
00511707
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform