Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox: mouse click and spacebar are different
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00649163
Message ID:
00649501
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform