TGridShape individual Cell Width
Posted: Tue Nov 04, 2008 12:37 pm
In an multicolumn GridShape I try to give each Column an individual width.
I did insert in the TeeTree2New Example the following lines at the FormCreate of unit GridShape.pas:
Cells[0,0].width := 200;
Cells[0,1].width := 300;
Cells[0,2].width := 400;
Cells[1,0].width := 200;
Cells[1,1].width := 300;
Cells[1,2].width := 400;
Cells[2,0].width := 200;
Cells[2,1].width := 300;
Cells[2,2].width := 400;
but all Cells have still the same width .
How can I set individual widths for each column ?
I did insert in the TeeTree2New Example the following lines at the FormCreate of unit GridShape.pas:
Cells[0,0].width := 200;
Cells[0,1].width := 300;
Cells[0,2].width := 400;
Cells[1,0].width := 200;
Cells[1,1].width := 300;
Cells[1,2].width := 400;
Cells[2,0].width := 200;
Cells[2,1].width := 300;
Cells[2,2].width := 400;
but all Cells have still the same width .
How can I set individual widths for each column ?