[Gambas-user] How to color a font when printing

Rolf-Werner Eilert rwe-sse at osnanet.de
Thu Sep 10 09:48:29 CEST 2020


Somehow I haven't quite understood how Paint.DrawText(...) can be made 
drawing a colored font.

Actually, I figured out how to paint colored rectangles 
(Paint.FillRect()), but I failed to find a way for fonts.

My last trial was

Paint.Brush = Paint.Color(theFontColor)
Paint.DrawText(...)

But text remains black.

Could you give me a short hint?

Regards
Rolf


More information about the User mailing list