Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exiting Program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00291561
Message ID:
00291825
Vues:
21
>If you use As Top-level form and use my shutdown code then the main window will close along with you form. In my situation it seems like I can only use In top-level form to prevent my program from terminating even though I am try to go to another form. This particular form is using a timer, so may that has something to do with it. Let me know what you problem is.

A couple ideas, maybe one might help:

1) Use two separate TLs and no main vfp screen, each TL with its own READ EVENTS/CLEAR EVENTS in the main.prg - I do something like this, and it works fine. I actually have the CLEAR EVENTS for the first one with a timer in a Gotfocus, in one case.

2) If using the main vfp _screen, move it off-screen with .Left = -10000 to get rid of it.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform