Hi,
I have to DataGrid's on a form, one on the top of my form, the other at the
bottom, but they though each other somewhere in the middle. What I want now
is that, when I resize the form, they resize in the same proportions: So
when I resize the Form with 50%, they each have to resize with 50%.
The maximum what I can achieve now is that one of them resizes, and the
other keeps the same height, if I don't do it like that one of the
DaatGrid's comes in front of the other.
Any help would be really appreciated!
Thansk a lot in advance,
Pieter
Maqsood Ahmed - 26 Oct 2004 10:12 GMT
You can do it by some mathematical calculation by getting the
proportional size changed of the form and then set Grids' Locations and
sizes accordingly in SizeChanged Event of Form.
Maqsood Ahmed
Kolachi Advanced Technologies
http://www.kolachi.net