Link to home
Start Free TrialLog in
Avatar of Iamme
IammeFlag for Mexico

asked on

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...............
Avatar of RBertora
RBertora
Flag of United Kingdom of Great Britain and Northern Ireland image

Button.Font.Color := clred;

Rob;-)
Avatar of Epsylon
Epsylon

Press 'Caps Lock' once  :o)
Avatar of Iamme

ASKER

RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
Avatar of Iamme

ASKER

RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
should work, lets see a snippet of your code.

Rob;-)
Iamme,

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

ASKER CERTIFIED SOLUTION
Avatar of DrDelphi
DrDelphi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial