>I've centered a checkbox in a container object to be used in grids. I have used this object in a grid and it works fine. The problem is that when the gridcolumn is rezized horizontally, the checkbox will not remain centered. Is there something that can be coded in the containers resize method that will keep the checkbox center at all times within the grid column? Thanks in advance for any help someone can offer.
Hi John
You have to make the container resize automaticly.
If you set:
Container.Width = Container.Parent.Width in the Container.Refresh()
Do the sane with the height if it is nessesary
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"