Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help needed with grids
Message
 
To
02/07/1999 15:54:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00237019
Message ID:
00237115
Views:
12
>Hello all,
>
>First let me tell you that I work with VFP3.
>
>I know about the BeforeRowColChange event in a grid.
>
>I would like to know how to execute code only when the user change for another line in the grid not another column. How can I do this?

Denis,
You'll need a form property (nOldRow) to store the active record #. Then in the AfterRowColChange() code put:
if recno('mytable') = thisform.nOldRow
   ** Do your row change stuff here
   thisform.nOldRow = recno()
endif
HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform