>I read here once (long ago) to center a check box in a grid column, you should put the check box in a container and center the container in the column. I'm not sure my memory is accurate, because I'm trying that without success. So, how does one center a check box in a grid column? fyi, my check box has no caption, the sparse property of the column is .F.
>
>Thanks
Mark,
You heard right :) Create a container with backstyle transparent and borderwidth = 0. In it place a checkbox with no caption and backstyle transparent. Add container to grid (say column1) and set currentcontrol to container (say container1) :
with this.Column1
.Container1.Check1.Controlsource = .Controlsource
endwith
with this.Check1
.Left = (this.Parent.Width - .Width)/2
endwith
If you want it to resize as column resizes, in column resize call container1.init.
Cetin