Hi!
Try to use 'nodefault' command in the scrolled event of grid when it is going to scroll horizontally in mentioned cas. I don;t know if it will work.
I doubt you will reach what you want by easy way, just because grid tries to display focused column with full size to allow its editing.
You can also temporarily resize grid column to the size wich does not cause automatic scrolling, than resize it back when user manually scrolls grid to see that column or columns are rearranged. This is quite a messy code, but it is real thing that could be done. Does the problem big enough to use such effort? ;)
>If the last column in a grid runs over the grid edge, is there a way of stopping the grid from shifting to show the whole column, and I know that you can shorten the column, but I need to know if you can do this without changing the column width?
>
>TIA
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.