From: Terry Parkinson
New Hampshire - United States
To: Barbara Peisch
California - United States
Visual FoxPro 9
Tuesday, August 28, 2007 4:04:59 AM
This message was rated by:
> > 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?
Thanks Barbara. I haven't found any refreshes in the classes that would come into play with a simple Arrowup or Down within a grid. But I'll stare some more tomorrow with fresher eyes.
Posted by Terry Parkinson @ 8/28/2007 12:17:30 AM
Posted by Barbara Peisch @ 8/28/2007 3:49:15 AM
Posted by Terry Parkinson @ 8/28/2007 4:04:59 AM
Posted by Don Higgins @ 8/28/2007 3:50:58 AM