>>>If I put lockscreen=.T. (and then =.F.) my checkbox do not refresh. I must
>>>refresh with code in the interactivechange event. I have many checkbox in the form: is there a trick to avoid so many refresh? (VFP 5.0)
>>>Thanx
>>
>>Where are you putting the lockscreen code? A code snippet would also help.
>In the deactivate and in the activate event of the main form
Waht are you doing in the activate that would require you to issue a LOCKSCREEN? In my form activate, I issue a This.Refresh() near the end of all code. Do you also have code in the InterActiveChange of the checkbox other than a Refresh command? If so, do you also have a DODEFAULT() command? The main point is that issuing a LockScreen has nothing to do with the value status of a checkbox. There is something else causing your problem.
Mark McCasland
Midlothian, TX USA