Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textcolor() in C++ Borland 4.52

Status
Not open for further replies.

csvideo

Programmer
Oct 19, 2001
74
BB
textcolor() is working perfectly in the C++ for Dos but its not working in the windows version. What function can be used to change the text color in Borland C++ 4.52?
 
My notes say that textcolor() will not work under Windows. It's DOS only. James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
If you want text color changed in windows, use:

Label1->Font->Color = clYourColor.

You can also use hexadecimal colors if you know them.

By the way... Buttons cannot change font color by default. You have to download a 3rd party component to do it, or use a SpeedButton.

Is that what you wanted? Cyprus
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top