Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox: mouse click and spacebar are different
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00649163
Message ID:
00649501
Vues:
15
>Hi
>I have a grid with a check box in it
>when I click on it with the mouse the routine in the clickmethod sums all records in the cursor which are checked including the current one.
>
>If I press the spacebar to check the box it sums all BUT the current one?
>
>Why? and how could I get around it?
>
>Peter

Peter

Try doing a SetFocus() back to the current object so that in effect it does a lost focus first this ensures that the current value is saved.

HTH
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform