Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.WindowState = 2 in form init does not resize fo
Message
De
17/09/2004 22:58:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00942748
Message ID:
00943689
Vues:
18
>>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
Fil
Voir

Click here to load this message in the networking platform