Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 To: Terry Parkinson
  Where is Terry Parkinson?
 Litchfield
 New Hampshire - United States
 Terry Parkinson
 Tags
Subject: RE: RowColChange
Thread ID: 143333 Message ID: 143335 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Tuesday, August 28, 2007 3:49:15 AM         
   


> I have a text box on a form that shows info about the selected line in a grid.
> I am trying to use RowColChange in AfterRowColChange to change that info to reflect the current row in the grid.
>
> IF INLIST( thisform.mainGrid.RowColChange, 1, 3 )
> .. show the current row's info
> endif
>
> But Debugout shows RowColChange as being 0 whenever I change rows, instead of 1 or 3. I see from Hackfox that it is reset to 0 after a refresh,
> but I am not calling Refresh, either form or grid.
>
> Is there anything else going on with RowColChange?
> Thanks!
>
>
>
> Terry

I haven't had a problem with RowColChange not showing the correct code. Is it possible that you have a Refresh call in a parent class?

-BP
www.peisch.com

ENTIRE THREAD

RowColChange Posted by Terry Parkinson @ 8/28/2007 12:17:30 AM
RE: RowColChange Posted by Barbara Peisch @ 8/28/2007 3:49:15 AM
RE: RowColChange Posted by Terry Parkinson @ 8/28/2007 4:04:59 AM
RE: RowColChange Posted by Don Higgins @ 8/28/2007 3:50:58 AM