Check Grid.RowColChange property.
IF This.RowColChange <> 2
NODEFAULT
ENDIF
>Hi All,
>
>In my application I use the VFP 7.0 grid control and it contains several columns... a date, a name, and some other things. In the 7th column I set the current control to a command button which is used to "save" when the user adds or edits grid line items. I disable all columns until the user wishes to add a new record or edit and existing one. When the user is adding or editing a flag is set and a NODEFAULT command is executed in the "BeforeRowChange" event. This is great because it keeps users from changing rows and makes them hit the "save" button. But, here's the problem - NODEFAULT in the "BeforeRowChange" event also prevents users from getting to the next column and they can only acces that one cell (row/column). I would like the user to be able to get to any column in that row and only that row until the "save" button is pressed. Any thoughts, anyone?
>
>Thanks in advance!
>Paul Murray
--sb--