Solved

Label Color

Posted on 1998-12-24
1
275 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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