Hi!
Right column width should be 1 point less than required to fit that column into the grid visible area for data. When it is exactly required width, grid auto-scrolled. This is 1-point bug in grid and it comes from an attemp to display the entire column when it get focus by keyboard.
In addition, set the Resizable and Movable properties of the columns to .F. so user will not be able to resize that column wider than fit into grid. Well, when you want to allow column resizing - assure it is not wider than needed in the column or header events.
HTH.
>Assume a 2 column grid, grid width = 100, column width 1 = 17, column width 2 = 83, scrollbars = 2, gridlines = 0.
>
>Grid is read-only, column 1 being a bitmap representing the file type in column 2.
>
>How can one ensure column 1 does not disappear off left if the user moves around the grid with the keyboard?
>
>TIA
>
>Dennis
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.