开发者

ignore mouse event on label inside panel

I am making a custom menu. I am applying colors on pane开发者_Go百科ls on mouse enter and mouse leave.

I have labels on these panels, and the mouse enter and leave events work snappy, but as soon as I hover over the label (on/inside) the panel, the mouse leave event is fired. I know I can just do the same thing for the label mouse enter event, but I am doing some other visual stuff, and I need to have the label mouse events totally disregarded. Any ideas?

Thanks in advance.


I eventually just used the menu control, and styled it accordingly. Does the job better than I could with code...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜