Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00107510
Message ID:
00107514
Vues:
29
If I understand your question correctly, you can use the form's Resize event to change the size of a grid on the form. For instance, put this in the form's resize event:
THIS.Lockscreen=.T.
THIS.grdMyGrid.Width=THIS.Width-14
THIS.grdMyGrid.Column2.Width=THIS.grdMyGrid.Width-85
THIS.Lockscreen=.F.
This changes the grid to be 14 pixels narrower than the current width of the form. It also adjusts the width of one column relative to the width of the grid. You could adjust all of the columns, but frequently there's really only one or two that need to stretch when the form is resized.

>Special thanks to Jess Banaga .. the problem solve already
>
>BTW can you change the border's size of the form including the Grid control, BorderStyle=3 - sizeable setted. ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform