Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid RowColumn Change
Message
From
01/04/1997 08:56:52
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00026366
Message ID:
00026384
Views:
45
>How do you differentiate between a row or column change in a grid. RowColumnChange is just sent a number so it could be either one. I'm trying to stop a row change when the user has modified a record. Thanks.

In BeforeRowColChange Event:
select gridsource && table/cursor/view
thisform.togglegrid=recno()
In AfterRowColChange Event:
select gridsource
IF thisform.togglegrid=recno()
**** row changed
ELSE
**** column changed
ENDIF
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform