Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make Grid area resize when maximize/min window?
Message
From
15/06/2002 05:37:07
 
 
To
14/06/2002 16:51:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00666731
Message ID:
00668860
Views:
21
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

>Hi Plinio.
>I am sorry. I am not real familier with foxpro example.
>Are there any other way I could do it?
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform