Read view's color

derez

Expert
Licensed User
Longtime User
To be able to read a view's color, like it is possible to read the textcolor.
 
I found a go around solution to get the color of a label defined in the designer:
Code: Copy
Dim cnvs As Canvas
cnvs.Initialize(Lbl)
Wlblcolor = cnvs.Bitmap.GetPixel(1,1)
 
Back
Top