[SOLVED] No color.... :( lazarus / 10-Designer ---------------------------------------------------------------------- WickedDum · 2013-11-14 19:00 Good morning! (If my terms are incorrect, please let me know. Tx.) I am creating a client input screen and want to change the DEL and CANCEL buttons to a red text.  After an exhaustive search, in the Object Inspector, I found the Property for Font->Color.  I changed it to clRed and it does not give me red text.  I changed Font->Style->fsBold to TRUE and it works... What do I need to do to accomplish my goal? Thanks! < Steve > ---------------------------------------------------------------------- gato2707 · 2013-11-15 03:54 Hi. I think you are working in Windows, if that is true, the answer is: you can not. TButton is in escence a call to Windows Button widget. And this particular control in Windows does not admit other color in font than those defined in Windows. You can change this in particular using themes, but the change will be applied to all buttons, not only in your program, and of course for all buttons inside it, you can't change for a number of controls. For this kind of situations you must use another control wich does not implement Windows Button widget. ---------------------------------------------------------------------- WickedDum · 2013-11-15 07:20 Bummer!  Thanks for the lousy information...  I suppose one could create an image and write code to have it act like a button...right? < Steve > ---------------------------------------------------------------------- Zoran · 2013-11-15 07:34 Quote from: WickedDum on November 15, 2013, 08:20:14 amBummer!  Thanks for the lousy information...  I suppose one could create an image and write code to have it act like a button...right? < Steve > Or create bitmap with the text and use TBitBtn instead of TButton. ---------------------------------------------------------------------- Avishai · 2013-11-15 08:27 What OS are you using?  And the version of Lazarus and FPC?  If you use a TBitBtn you can set Font.Color and Font.Style in recent Lazarus. ---------------------------------------------------------------------- WickedDum · 2013-11-15 16:46 Thanks, guys! Zoran - you said the same thing I was alluding to - only technically.  I like yours better.  Avishai - Win7 Pro SP1 32bit; Lazarus v1.0.12 Thanks! < Steve > ---------------------------------------------------------------------- Avishai · 2013-11-15 16:53 TBitBtn and TSpeedButton support changing Font.Color and Font.Style directly.  No need to create a bitmap. TBitBtn.Font.Color:= clRed; TBitBtn.Font.Style:= [fsBold]; ---------------------------------------------------------------------- marcov · 2013-11-15 20:05 Quote from: Zoran on November 15, 2013, 08:34:49 amQuote from: WickedDum on November 15, 2013, 08:20:14 amBummer!  Thanks for the lousy information...  I suppose one could create an image and write code to have it act like a button...right? Newer commctl versions afaik support a TButton with a picture. Delphi also supports it now. ---------------------------------------------------------------------- WickedDum · 2013-11-16 03:46 marcov - Then we'll just have to wait until Lazarus incorporates it, too.  Avishai - For me, TSpeedButton didn't work, but TBitBtn did! Thanks - it saved me a lot...  < Steve >