Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Init for pages fires before Load?
Message
De
22/06/2010 12:18:25
 
 
À
22/06/2010 12:13:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01470178
Message ID:
01470179
Vues:
64
I'm not sure it's that Init gets called before Load, but I would expect you to have isses. Objects are instantiated from inside out, so the Page Init will get called before the PageFrame Init.


>I thought LOAD always occurred before any INITs ...
>
>I have a form class which has a pageframe in it. When I start the form, the INITs for each page fire. (That's odd, too, isn't it? I thought that INITs are not normally called for pages.)
>
>Now, this would not be an issue except that the init for each page has an assignment:
>This.parent.SomeProperty = SomveValue
>and the zeroes get displayed in the calling form.
>
>How do I turn that display off?
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform