Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make Grid area resize when maximize/min window?
Message
From
19/06/2002 18:35:21
 
 
To
15/06/2002 05:37:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00666731
Message ID:
00670346
Views:
36
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform