?
Solved

A SIMPLE BUTTON????

Posted on 2000-03-20
8
Medium Priority
?
140 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 100 total points
ID: 2637053
Use a BitButton instead.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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