Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a caption font bleed
Message
 
To
03/05/2005 23:44:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00869188
Message ID:
01010963
Views:
28
I'll have to remember this one. Both for the solution - and your agressive workaround hack ethics!:-) Thanks!

>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
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform