Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox is not working properly
Message
 
To
10/04/2001 10:09:32
Todd Zmetana
Night Owl Projects
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00493100
Message ID:
00494824
Views:
29
Thanks Todd
I also have SET CONFIRM OFF (default VFP setting), so I'll try your solution.

Greetings,


>Jozef,
>
>I have encountered the same problem with SET CONFIRM to OFF and it was not a consistent problem. My solution was as follows:
>
>In the Click event add
>
>dodefault()
>this.refresh()
>
>
>and the problem was solved... Just giving you some options for whatever works.
>
>
>Todd
>
>
>
>>Thanks Barabara (and also the author of "previous thread").
>>Great thanks.
>>
>>>Checkboxes occasionally show this behavior. From a previous thread:
>>>*  Event: chkBaseRefreshOK.Valid()
>>>*  When SET CONFIRM is ON, the native checkbox control doesn't change its
>>>*  visible state in response to a mouse click or space bar press until the
>>>*  user exits the control, for example with the TAB key. This code fixes
>>>*  that behavior.
>>>
>>>with this
>>>   .value = EVALUATE(.ControlSource)
>>>   NODEFAULT
>>>endwith
>>>HTH
>>>Barbara
>>>
>>>
>>>>Hi!
>>>>Does anybody know why checkbox control is not working properly.
>>>>Sometimes all is OK but many times when user is clicking on it, it seems than control is inactive, after several cliks it changes value. Sometimes it change value but it is not refreshed when focus is on it - when user moves to another control it is refreshed and showed properly.
Previous
Reply
Map
View

Click here to load this message in the networking platform