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:
01033993
Vues:
14
What about binding to the Init event? Also, if this isn't a manager of some kind, and there is a seperate instance for each form, then you might try foregoing the bindevent() for setting restoration altogether and just put your code to resize the form, etc. in the init of the setting saver class you've created and reference the form via "this.parent". You get the idea, I suspect you've already tried this, but I am curious why neither of these worked... C5 again?

>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.

Of course, that makes sense.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform