Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter in LOAD
Message
De
16/07/1999 13:18:30
 
 
À
16/07/1999 13:16:10
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00242341
Message ID:
00242427
Vues:
33
>You CAN use the parameter in the Init. It will require a redesign of your form though. You will need to move the code that is dependent on the parameter out of the Init's of the objects and put it in a custom method, then call that method from the form's Init passing your parameter to it.
>
>Using public variables is a poor design. The requirement for a public variable indicates a flaw in the design of the larger situation and using teh Public var only continues the bad design which will bite you later.
>JimB
>
>
>
>
>Hi Jim,
>
> Yes, i can use parameter in init, but the problems is of load/init event of other objects on that form. which code executes before forms init.
>
>Thanks
>Amit

But what Jim is trying to tell you is that this a bad design. If you tell us exacltly what you are trying to do, we can help you redesign by calling a method instead of using the events as you are now.

Dan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform