[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
Re: Label Ignores mouseenter
add the labels to the handles statement
ie
Private Sub Panel1_MouseEnter(...) Handle Panel1.MouseEnter, Label1.MouseEnter, Label2.MouseEnter
etc
Re: Label Ignores mouseenter
Check this out, it sounds very similar to your problem:
http://forums.microsoft.com/MSDN/Sho...34313&SiteID=1
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.