Solved

A SIMPLE BUTTON????

Posted on 2000-03-20
8
134 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

18 Experts available now in Live!

Get 1:1 Help Now