Solved

Label Color

Posted on 1998-12-24
1
268 Views
Last Modified: 2010-04-04
How to highlight (change the TextColor) of a Label's Caption
ONLY AS LONG the Mouse Cursor is over it ?
0
Comment
Question by:omsec
1 Comment
 
LVL 17

Accepted Solution

by:
inthe earned 10 total points
ID: 1352890
hi how about
put a label on a form and and change the font color to clblue then in the object inspector click on events and then double click the onmousemove event and type the following code
if label1.font.color=clblue
then label1.font.color:=clred;

now click on the form and select it's onmouse move event in object inspector and type the same code just changing the colors around.

regards Barry

 

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

14 Experts available now in Live!

Get 1:1 Help Now