Yes I could do it like this
I'm really looking for an event on that small button on the upper left corner. They manage to put one on the deletemark so why not on the autofit button?
>Luc,
>
>Then perhaps you want to turn off AutoFit all together, and just call your column sizing code each time the grid is regenerated? This could be done with the property.
>
>>I'm using a grid that is dynamic, it rebuilds itself and I want to set columns width just after the Autofit() method. This way the columns won't change size once the grid is regenerated.
Luc Nadeau
lnadeau@neova.ca"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)