Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdichild = true
Message
 
À
30/03/2001 13:50:20
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Divers
Thread ID:
00490393
Message ID:
00490408
Vues:
7
>Using VB6.
>
>I have a MDI form that contains other forms. These other forms have their MDICHILD = TRUE property set.
>
>The problem I am having is that when I am in design mode, and I resize a child form, then run the application, the child form re-displays in it's original size, not the new size.
>
>What am I missing here? If the form is not a MIDCHILD, then the resizing of form in design mode and running the form always show the form in it's new size, as expected.
>
>What setting am I missing?

MDI...

In the Form_Load event of child form, I use to write lines something like these:
me.WindowState = vbNormal
me.Move 0, 0, mdiMain.ScaleWidth, mdiMain.ScaleHeight
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform