I want to create a Test-Environment for all Controls ( transparent )
on Dialogs and Folders
using Gradient-, Color-, Image-, Brush- and Style-Backgrounds.
Is it possible, to get the Position of the Image-Area
for transparent Radio's and Checkboxes ?
It allways uses the Top / Left - Position of the Background-Image.
As well, there is a Problem with the Group-Color ( text and Line )
and the Textcolor of Radios and Checkboxes.
I tested another ( working ) Solution, but there was the Group-Line behind the Group-Text.
The Line is also visible on the Gradient-Test.
For the Gradient I used :
FOR n := 1 to Len( oFld:aDialogs )
oDlg := oFld:aDialogs[ n ]
IF n = 1 // Gradient
oDlg:bPainted := { | hDC | GradientFill( hDC, 0, 0, oDlg:nHeight, oDlg:nWidth, aColors, .T. ) }
...but I think it must be a Brush as well.
Normal Brush
Adjusted Brush
Gradient
Brush
Style
Best Regards
Uwe