resize grids with form help!
Hi,
I have a form with two grids one it. I would like to make it so when i resize the form, the grids resize as well....usually i would just anchor the grid but with the two next to each other this wont work when i resize horizontally....Can anyone help me out with some code.....it would be greatly appreciated!
Re: resize grids with form help!
You just need to place some code in the forms resize event that sets the size of your grids using the form size as one of the values in the calculation.
For example
Code:
MyGrid.Width=(MyForm.Width/2)-30