Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT unreliable w/grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00144238
Message ID:
00144449
Vues:
22
>
>Here's a program that demonstrates the problem:

It looks like the behavior of grids that was probably designed into them turned out to be a messy jumble for VFP to maintain. I tested your code and you are right.

I also figured out why I never see this behavior... in any action that I perform in a grid, the SetFocus is the last thing I code. So inthe click event of a button, if I
SELECT whatever
DELETE
THISFORM.mygrid1.Refresh()
THISFORM.MyGrid1.SetFocus

I never see your problem.

While the inconsitency is annoying, remembering its presence and avoiding the situation looks like enough of a workaround.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform