Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control
Message
 
 
To
29/04/2002 14:56:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00650536
Message ID:
00650541
Views:
15
Check Grid.RowColChange property.
* BeforeRowColChange
IF This.RowColChange <> 2   && Row change
   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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform