Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in Grid
Message
De
09/12/2003 19:57:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Checkbox in Grid
Divers
Thread ID:
00857495
Message ID:
00857495
Vues:
61
I am trying to fix a bug in an existing VFP 5 based app.

There is a grid with rows that are available to select. Users click on a checkbox in the grid to select/deselect rows. Valid code for the checkbox does some calculations based on the row being selected/ unselected. There is a textbox on the form that keeps a running total of the rows that have been selected.

Occasionally,, the running total will be wrong. I have traced the problem to be that intermittently the value of the checkbox and the value in the control source column are different.

It appears that if you click the checkbox enough times, the value of the control and the value in the control source will get out of synch. The result of this problem is that when the valid code runs on the control it thinks the checkbox is checked. But it might not be, so the running totals are wrong.

Any help appreciated,

Thanks,

PF

(On an infant's shirt): Already smarter than Bush
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform