Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Is it normal for the Moved() event to execute before or after the Init() at form startup, or is one of the property values causing this?
>>
>
>I dont know if its normal, but why dont you put your code to save the position in the destroy or unload event? This will occur only one time when the form will be released and not at each move of the form (including the one in the init)...
>
>Just my 2c :-)
Thanks Yes, that's what I should have done and will do.
Still, the Moved() event at form startup sure seems strange.
Thanks Gerald
Précédent
Suivant
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