Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactive changes in GRID
Message
De
01/10/1996 14:43:33
 
 
À
01/10/1996 14:02:50
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009019
Message ID:
00009028
Vues:
34
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform