Hi Guys,
I believe I have found a solution to the problem with bleeding checkboxes. I added the following code to my checkbox InteractiveChange event:
* this behavior fixes bold bleed effect that occurs under XP Themes
local lbLockScreen
lbLockScreen = ThisForm.LockScreen
ThisForm.LockScreen = .T.
keyboard '{tab}{backtab}'
ThisForm.LockScreen = lbLockScreen
The technique is to tab out of the checkbox (which causes VFP to repaint the control properly) and then to tab back in again. You'll still see the bleed effect while a user holds down the left mouse button or the Space key, but as soon as they release their mouse button/Space key, the InteractiveChange event will fire allowing the above code to "fix" the visual appearance of the control.
Truly a hack job. But in my tests so far, very effective.
Malcolm