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:
00011114
Vues:
38
>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
Todd Burstain, MD
infinitydoc@delphi.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform