Solved

A SIMPLE BUTTON????

Posted on 2000-03-20
8
135 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
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
 

Author Comment

by:Iamme
ID: 2636507
RBertora.................it doesn't work........it doesn's send me errors but doesn't function.........
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Memory leak using records in a TVirtualStringTree 11 109
Wininet read php file from internet issue 6 81
Intraweb download file link ? 1 107
JAudiorecorder record freezing the app 29 59
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now