Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in Grid
Message
De
10/12/2003 13:20:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00857495
Message ID:
00857765
Vues:
24
I just moved the code from the valid method of the checkbox to the click method and added your suggestion. Now it works.

Thanks,

PF

>Hi Perry,
>
>Did you try
>
>this.value = this.value
>
>
>in checkbox.InteractiveChange() ?
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform