Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Excellent idea. Just points out to me that I've got functionality in the form that should really by in class code.
>Robert,
>
>Another way to handle this is to put your initialization code for the controls in a custom method of the subclass. Call that method with the parameters from the Init() of the form.
>
>>Good idea. A form manager to encapsulate form launching, .... Call a method of the object (like FormCreate), pass it a form name, and a list of parameters for the form. It could package them up, and create the form. The form could probably call methods of the object to retrieve the parameters. Not bad.
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