Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in Grid
Message
 
À
09/12/2003 19:57:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00857495
Message ID:
00857520
Vues:
25
This message has been marked as the solution to the initial question of the thread.
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
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform