Solved

A SIMPLE BUTTON????

Posted on 2000-03-20
8
138 Views
Last Modified: 2010-04-04
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...............
0
Comment
Question by:Iamme
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 7

Expert Comment

by:RBertora
ID: 2636385
Button.Font.Color := clred;

Rob;-)
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2636407
Press 'Caps Lock' once  :o)
0
 
LVL 7

Expert Comment

by:RBertora
ID: 2636445
:-)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Iamme
ID: 2636507
RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
0
 

Author Comment

by:Iamme
ID: 2636512
RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
0
 
LVL 7

Expert Comment

by:RBertora
ID: 2636551
should work, lets see a snippet of your code.

Rob;-)
0
 
LVL 7

Expert Comment

by:ahalya
ID: 2636858
Iamme,

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

0
 
LVL 6

Accepted Solution

by:
DrDelphi earned 25 total points
ID: 2637053
Use a BitButton instead.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question