Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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?
the main diff. is in the firing order
thew form load() event is the second event to fire (after the dataenvironment beforeopentables)
the form init() event fires only after all the controls init events fired
(unless u specify NOINIT for the different controls)
so basically the load knows nothing about the controls and the init does
Arnon
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement