It appears to be no problem to give focus to a CheckBox using SetFocus but once done, there seems to be no visual indication whatsoever that the control has the focus.
Is there any way to give an onscreen indication that a CheckBox has focus?
(I suspect this will apply to Radio Buttons also.)
Thanks,
Michael
Robin Dunn wrote:
Michael Hipp wrote:
It appears to be no problem to give focus to a CheckBox using SetFocus but once done, there seems to be no visual indication whatsoever that the control has the focus.
Is there any way to give an onscreen indication that a CheckBox has focus?
(I suspect this will apply to Radio Buttons also.)
What platform? I'm seeing the focus indicators here in the demo on XP SP2. Select the Checkbox sample, select one of the checkboxes besides the first one, then hit F5 to open a PyShell and do this to programatically set the focus back to the first checkbox:
cb = frame.demoPage.GetChildren()[1]
cb.SetFocus(); frame.Raise()
Have you tried it without hitting the tab key first (even once, during that particular run of DEMO)?
Michael