Hi!
The reason might be that you enhanced the widths of columns programmatically. In such case grid's horizontal scroll bar does not reflect change - it assumes "old" scrolling area (total width of columns), and as a result does not allow to scroll correctly. The fix is very simple - hide the scroll bars and show them again:
thisform.grid1.Scrolbars = 0
thisform.grid1.Scrolbars = 3
This re-calibrates the horizontal scroll bar and it now allow to scroll correctly. You require to do this every time width of columns is changed programmatically, or you change programmatically number of columns (add or delete columns).
Hope this helps.
>Hopefully someone can help with this small problem in a VFP7 grid.
>
>You all know you can click on the thumb at the bottom of the grid and scroll to the right to see all of the columns that don't show in the grid if the columns are wider than the width of the grid itself.
>
>The problem is that with the grid I am using I have to click inside the grid and tab to the right in order to see the columns at the right. If I don't click inside the grid, the thumb only go so far and does not allow you to see all of the columns on the right. Does anyone know what causes this and how I can correct it?
>
>Any help will be greatly appreciated!
>
>Have a great day!
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.