Solved

Label Color

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…

751 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