>Is there a way to stop a grid from horizontal scrolling? I have a grid with 10 columns, 5 of which are set to visible = .f.. Even though they fit on the screen and I have allowcellselection set to .f., I get scrolling to the right when I press the enter key. I am trying to use the enter key to set a different filter and display records below the selected record.
>
>I also tried setting all columns to enabled = .f. with the same result.
>
>Basically, I am trying to eliminate all horizontal scrolling with the keyboard.
>
>Thanks,
>
>Jeff
sounds like you need to make the last column a few pixels narrower. enough so you can see the right edge borderline of the column. as long as the right edge of the last column is a little off the view pane, it will scroll.
also, you might want to set all the Allow
x sizing properties to .F., to prevent users from resizing and getting the same behavior.
Insanity: Doing the same thing over and over and expecting different results.