Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>In the init of a form I set Thisform.WindowState = 2, but the Height and Width of form remain the way it was before the command. I believe it should change, and in fact Codemine assumes it does and resizes / repositions internal objects relying on form changing size. Am I doing womething wrong?
>>
>>TIA,
>>
>>Alex
>
>Do you have MaxHeight and MaxWidth specified? Could it be that some class code alters width & height?
It could be.
I still don't know the cause of the problem but solved it by moving some code to Form.Activate. Thank you.
Alex
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