A SIMPLE BUTTON????

WELL...I'M WORKING WITH A TBUTTON AND I WANT TO CHANGE THE FONT COLOR ,I HAVE USED

TBUTTON.TEXT.COLOR:=(THE COLOR THAT I WANT TO CHANGE);
TBUTTON.REFRESH;

BUT IT DOESN'T WORK.....

CAN YOU HELP ME???????????????? I ONLY WANT TO CHANGE THE COLOR, IT SOUNDS ESASY BUT IT ISN'T...

OK...I HOPE FOR YOUR ANSWERS...............
IammeAsked:
Who is Participating?
 
DrDelphiConnect With a Mentor Commented:
Use a BitButton instead.
0
 
RBertoraCommented:
Button.Font.Color := clred;

Rob;-)
0
 
EpsylonCommented:
Press 'Caps Lock' once  :o)
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
RBertoraCommented:
:-)
0
 
IammeAuthor Commented:
RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
0
 
IammeAuthor Commented:
RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
0
 
RBertoraCommented:
should work, lets see a snippet of your code.

Rob;-)
0
 
ahalyaCommented:
Iamme,

Button1.ParentFont := false;
Button1.Font.Color := whatever;

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.