ie: Grid.Fontsize Column.Width Column.Fontsize Designer Size : 9 75 9 After Grid.Init() : 9 285 9 After resizing Column : 9 552 17 After resizing Grid.Fontsize : 17 150 17This would not be a problem if the grid were resized first, but I'm trying to design so that the columns are resized first.
>Method AdjustSize(toObject) > local lo > if pemstatus(toObject,'Objects',5) > for each lo in toObject.Objects > this.AdjustSize(lo) > endfor > endif > .... resize toObject >>I'm asking because I have a client that wants to see the grid centered in the pageframe and doesn't want extra space in the grid after resizing. So the grid.Width has to be calculated after resizing all the columns (because Recordmark, DeleteMark, and ScrollBars don't resize), and the Pageframe needs to know the final width of the grid in order to resize properly, and the Form needs to know the final width of the Pageframe in order to resize properly.