Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive changes in GRID
Message
From
01/10/1996 14:43:33
 
 
To
01/10/1996 14:02:50
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00009019
Message ID:
00009028
Views:
35
>I have a child grid on a 1-M form. Buffering is set to optimistic row.
>After appending a record and placing focus on the first cell, I want to be
>able to add data and then test whether or not the user has left the current
>row. If he has, I want to display an Save/Revert/Cancel dialogue. I have
>tried the beforerowcolchange, but the activerow property doesn't know its
>changed until the afterrowcolchange event .
>
>How do you detect the change before the current row loses focus?

I think you can do something with Valid events of each cell control. Also it's probably a good idea to check CURVAL() OLDVAL() in beforerowcolchange snippet. Personally I believe that child table better to have table buffering that eliminates most of above problems.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform