Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Load() and init() methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00011101
Message ID:
00011136
Vues:
41
>>I don't still really know when to use place my "init" code when loading a form or formSet, either in the init() or load() methods. Can anyone give me some advice on how and when to use one or the other?
>>
>>Thanks,
>>Javier.
>If you need to create cursor/table/view via an sql that will be used in the form/formset as part of the controlsource for any controls it will need to be done in the load so that when the controls are loaded/inited they will have a vaild source.
>
>Parameters passed to the form must be passed with a parameter statement to the init method.
>
>Other wise they are interchangeable.
>
>HTH

I think that parameters it a good reason to

Rock
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform