Solved

Label Color

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 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