Hi!
If you meant you want to display all columns in the grid data area at once so no need to use horizontal scroll bar, then you require to set up the widths of all columns such way, that they all fit into the grid data area. More, the right edge of the last column should leave one point gap between it and left edge of the verical scroll bar (or right edge of the grid data area). Otehrwise grid will scroll as soon as you enter the last column control.
Do not forget to set up for each column Resizable = .F., otherwise users will resize the column and cause scrolling again ;)
>Hi. VFP7 user. I have a grid (class) that I drop on a form. When I run the form and enter data in the grid, the grid scrolls off to the right. Akins (et al) have a section in ch 6 of their book (p 164) called "How do I keep my grids from scrolling...". I tried her code and I must be doing something wrong...
>
>Ideas??
>
>Thanks, Randy
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.