>>>>Ok, found it. The checkbox has caption none... :) So, I coded "visual clue" by myself in GotFocus (backcolor = rgb(0,0,64) and in the lostfocus - restore it to default)
>>>
>>>The question is: is it possible to do without changing checkbox class and without changing each instance of the checkboxes?
>>
>>
>>for each oControl in ThisFormsControlsRecursively
>> if oControl.baseclass="checkbox"
>> Bindevent(oControl, "gotfocus", this, "paintcheckboxblue")
>> Bindevent(oControl, "lostfocus", this, "paintcheckboxneutral")
>> endif
>>endfor
>
>Thanks, Dragan. I'm thinking, that may be fixing the base class would be a better alternative...
My base checkbox goes bold in .getfocus - and also has two captions (caption_yes, caption_no). When I introduced the change, there was almost nothing to do wherever the checkbox was used, except where I wanted a meaningful difference between the captions. This sort of cosmetic intervention is not much of a threat to the stability of the system.
So I agree, it may be simpler to just change the base class than to intervene on (dozens of?) forms.