Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close button doesn't close form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00974923
Message ID:
00975228
Vues:
24
>For quite awhile now, VFP has had an issue with sometimes not closing forms when you click the Close (X) button in the upper right corner of a form. I saw this in VFP 6, 7, and 8. What will happen is that you will click the button, but the form will not close. Then if you drag the mouse pointer back over the close button *without* clicking it, the button will depress and when you drag it off the button it will return to normal. You can play a little game dragging it on and off the button and watching it depress and undepress. If you click again, the window will close. I'm not sure why this hasn't been fixed, but normally it's not that big of an annoyance. However, I have an app that runs in a single form as a top-level form and with the VFP main window hidden. It seems that if this error occurs when exiting the app, then when the user clicks the second time it somehow interferes with the shutdown of the app. It doesn't shut down - the form clears, but the VFP main window
>(which just briefly becomes active again) does not clear and the user has to end task. If the close error does not occur, the app executes a normal shutdown. Has anyone seen this type of problem? I have an Exit button on the form and, if I remember correctly, you can get rid of the close button (a feature I normally never use), so maybe that's an option.
>
>Thanks,
>
>Russell Campbell

FWIW, I've seen this same behavior in Outlook, NotePad, and other "standard" windows applications. It's something in Windows, not just in VFP.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform