|
-
May 1st, 2007, 11:38 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Label Ignores mouseenter
Hi all.
I have a panel with a bunch of labels in it - added as controls. I have a mouse enter and mouseleave events for the panel which changes the backcolor of the panel.
Problem is if the mouse goes over one of the labels in the panel, the label gets the mouse enter and the color of the panel changes back.
How can i get the event not to fire when it goes over the labels?
Hope this is clear, and apologies if has been answered before, did look for a while before posting.
TIA
Rico
-
May 1st, 2007, 11:45 AM
#2
Re: Label Ignores mouseenter
add the labels to the handles statement
ie
Private Sub Panel1_MouseEnter(...) Handle Panel1.MouseEnter, Label1.MouseEnter, Label2.MouseEnter
etc
-
May 1st, 2007, 11:50 AM
#3
Re: Label Ignores mouseenter
Check this out, it sounds very similar to your problem:
http://forums.microsoft.com/MSDN/Sho...34313&SiteID=1
-
May 2nd, 2007, 03:33 AM
#4
Thread Starter
Hyperactive Member
Re: Label Ignores mouseenter
Thanks bmahler and Negative0 i used bmahler's suggestion. Thought there might be a property i could set for the label, but that worked fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|