Mouse over

coryt

Registered User.
Local time
Today, 13:10
Joined
Jun 13, 2003
Messages
82
I looked throught the forum before posting, but couldn't find much help.

I created labels that when the mouse is passed of them, their font size and color change. However, they stay that way after the mouse pointer is moved off. How do I make them change back to normal after the mouse moves off them?

Thanks in advance.
 
You're using the MouseMove event for the labels to change the appearance. There is no "onmouseout" event (like in Javascript). You need to place some code in the MouseMove event on the form background where those labels are placed to return the appearance of the labels back to normal.

That way, when the mouse moves over the form background, the background's MouseMove event will be triggered.
 
I never thought of that. That is very sneeky. Thanks!
 

Users who are viewing this thread

Back
Top Bottom