Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate, BindEvents, and Modal forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01033957
Message ID:
01033990
Vues:
16
Activate is not my first choice, when it works you see the form flash before it moves or is resized. When I bind to the Show event I get a C0000005 error the second time the class is used. It does not happen in the VFP IDE but it does in my compiled exe.

For saving settings, I use the destroy event of the class, I only need the setting when the form is closed.


On DO FORM command:

Fatal error: Exception code=C0000005 @ 07/19/2005 02:29 PM. Error log file: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9rerr.log


>While I can't speak the nature of the problem you are encountering as I've never seen it, I do wonder at your choice of events given the intention of the class. Wouldn't the form's resize event be a better event to bind to capture the height,width, and windowstate of the form. And the Show event be a better place to restore the form's settings?
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform