10203 : How can we set the text alignment of the grid cells?

Question

How can we set the text alignment of the grid cells?   

Answer

Define a layout property and use it on cells
fGLP:=phGantXLP.GridLayoutProp(0);
  fGLP.HorzAlignRight:=TRUE;
phGantXLP.SetGridCellLayoutPropIndex(x,y,0);

Leave a Reply