From: Ken Blum
Illinois - United States
To: Bebot Chan
Visual FoxPro 6
Wednesday, April 30, 2003 9:02:31 PM
This message was rated by:
> > I have a grid on a form, whose contents are contents of a table. When I scroll down thru the records and go down a few pages, then I click on a field to modify it, it jumps back to the first page. e.g. if I scroll down to record 300 and try to modify it, it starts modifying record 10. If I use the arrow down to go thru the records though it works OK. Any idea why?
> > Thanks,
> > David
> I'm not sure if I really understood your problem, but after using the scroll bar, have you tried using the mouse and clicking inside the grid (specifically to the record you want to edit?) Does the problem still occur?
I've seen this problem on many of my grids for a long time. You have to click onto a column BEFORE scrolling, then it reacts just fine when you click on subsequent rows. Since most of my grids are on pageframes I have tried THIS.Grid.Column1.Setfocus in the Activate event and that does some good on SOME grids, but not all. If anyone else knows how to fix this I would love to see it. Seems like it could have something to do with combo boxes in the grids, but that's just a W.A.G.
Grid in a form
Posted by david shy @ 4/30/2003 2:28:21 PM
RE: Grid in a form
Posted by Bebot Chan @ 4/30/2003 3:17:39 PM
Posted by Ken Blum @ 4/30/2003 9:02:31 PM