Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Blum
  Where is Ken Blum?
 Illinois - United States
 Ken Blum
 To: Bebot Chan
  Where is Bebot Chan?
 Saudi Arabia
 Bebot Chan
Subject: Anybody else?
Thread ID: 22945 Message ID: 22967 # Views: 12 # Ratings: 0
Version: Visual FoxPro 6 Category: Forms
Date: Wednesday, April 30, 2003 9:02:31 PM         

> > 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
> 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?
> Bebot

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
Anybody else? Posted by Ken Blum @ 4/30/2003 9:02:31 PM