Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Label Color

Posted on 1998-12-24
1
Medium Priority
?
288 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 30 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline

963 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