Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse out event?

Status
Not open for further replies.

ikim2000

MIS
May 23, 2002
22
0
0
CA
I used a mouse_move event to change the fontstyle in my label control, but what event do i use to restore my orginal font when I want this to occur when I move the mouse out of the label control?

thanks,
ik
 

Use the forms mouse move event or the labels container if it is in a picture box or frame.

Good Luck

 
Although using the mousemove event on the control's container to signal when the mouse leaves a control has a chance of failure, especially if the user moves the mouse quickily onto another control.

Robert
 
Might I suggest thread222-416091 for a fairly robust rollin/rollout technique
 
Manipulating the control's mouse_move event and the form's mouse_move event works and I have not experience a failure yet, but I think I will eventually use stronm suggestion.

thanks,
Ik.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top