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:
00291991
Vues:
22
>The problem I face is FormA has a timer that fires regularly, and sometimes my program terminates without a reason if my form is set to showwindow state of 2.
>I use showwindow = 1 and my program continues (allows me to goto other forms), but then my main vfp window doesn't close when I exit my program with a command button. Its like catch 22, I don't know how to terminate the vfp main window while in showwindow = 1, and I can't use showwindow = 2 because my program sometimes terminates unpredictably. I even put _screen.release in my quit button while showwindow = 1, but it makes no difference the vfp main window still stays up. Any solutions????

I haven't used _screen for a couple years now, so not much help on that. As to why the TL was terminating sometimes, you may need to place a control that can get focus on it to keep it open, like a commandbutton. You can hide it off the visible screen so it won't look funny.

You can even hide the entire TL off the screen, and make the Child a Desktop, that's another nice way to do certain things...
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