VFP 8 and 9: I'm sure you've all seen this behavior: On XP transparent labels will start to get bolder and Bolder and BOLDER as various form elements are updated.
One workaround is to subclass your labels as follows:
This fixes the problem _BUT_ eliminates the ability to have transparent labels
Has anyone discovered a workaround to this problem that permits the use of transparent labels without the unintentional bolding effect?
Note: The following techniques do not fix this problem:
- Disabling themes (_Screen.Themes = .F.)
- ThisForm.Draw()
- ThisForm.Paint()
ThisForm.Refresh() temporarily corrects the problem - but this seems like an expensive solution (and how to know when to trigger this?)
Ideas appreciated!
Malcolm
One workaround is to subclass your labels as follows:
Code:
* prevent bleeding
Backstyle = 1 && opaque
ColorSource = 1 && form's Color Scheme
Style = 4 && Themed Background only
This fixes the problem _BUT_ eliminates the ability to have transparent labels
Has anyone discovered a workaround to this problem that permits the use of transparent labels without the unintentional bolding effect?
Note: The following techniques do not fix this problem:
- Disabling themes (_Screen.Themes = .F.)
- ThisForm.Draw()
- ThisForm.Paint()
ThisForm.Refresh() temporarily corrects the problem - but this seems like an expensive solution (and how to know when to trigger this?)
Ideas appreciated!
Malcolm