Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd grid firing order?
Message
 
À
12/11/1998 15:02:21
Tyson Bonn
Myers and Stauffer Consulting
Harrisburg, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00157108
Message ID:
00157132
Vues:
18
>It sounds like just some extra housekeeping that the grid is doing. From the grid's point of view, it doesn't know where your going after you leave it, or what your going to do (like move the record pointer). This being the case, the best bet would be to fire any code that would prevent the move in the Valid, then if it's Ok to move, fire any housekeeping code that might be in the BeforeRowColChange.
>
>The reverse of that would be true for the When/AfterRowColChange, where it has no idea if you already changed the record pointer before giving focus to the grid.
>
>Or I may be completely wrong. :- )

No, you're no worse than the vfp developers :) The problem with the Valid here is that it's no longer usable for everything (e.g., setfocus), and the grid has no Lostfocus to use instead...anyway, now that I've traced the problem to the Beforerowcolchange firing late, I can deal with it easily enough. Just caught me by surprise...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform