Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in Grid
Message
From
10/12/2003 12:48:02
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00857495
Message ID:
00857745
Views:
22
I just tried your suggestion. Unfortunately, it didn't help.

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
Previous
Reply
Map
View

Click here to load this message in the networking platform