I think you would need to put that code in the refresh event instead. The grid column is being resized, not the container. You could also use the following code in the resize event of the column itself:
this.container1.width = this.width
this.container1.height = this.height
>I have created a container class with a checkbox centered in it. The purpose of this class is to center checkboxes in a grid. The container works fine in the grid, but when the columns are resized the checkbox dosen't stay center. Is there a way I can have the checkboxes remain center in the grid during resize of the columns?
>I have already tried some code in the containers rezize procedure.
>THIS.WIDTH = THIS.PARENT.WIDTH
>THIS.HEIGHT = THIS.PARENT.HEIGHT
>So far no luck. Thanks in advance for any help offered.
kenweber
GCom2 Solutions
Microsoft Certified Professional