Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Locals variables are released as soon as the method that define them ends. You should define a new property in the form instead and link your control to it.
HTH
>Where should I initialize some local variables of the form? I've found some strange behaviour if I put some local numeric varialbles on the form an set them to zero value in the "Load" event. It seems that the Load event is to late, because this numeric filelds don't appear properly. If I set this variables before the "do form Myform" is executed, everything works OK.
>
>No big deal, but where's the point?
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