Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make Grid area resize when maximize/min window?
Message
De
19/06/2002 18:35:21
 
 
À
15/06/2002 05:37:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00666731
Message ID:
00670346
Vues:
37
Thanks for the reply.
It works after I put the code you told me. The only problem I have now.
I have a CLOSE botton at the bottom of my form. And the grid seems to take over the form through the bottom. Any idea how to make my CLOSE botton appear below the grid?

Thanks.
Angela



Hi Angela,

What you do is basically this - on the RESIZE event of the FORM where the Grid is, put code similar to this:


WITH ThisForm.myGrid
.Height = ThisForm.Height - .Top - 5
.Width = ThisForm.Width - .Left * 2
ENDWITH
You may vary the 'formula' for the Height and Width calculations.

Hope to have helped you.

Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform