3
Answers

MouseEnter Event problem for panel with 'Dock' property

fuad pulpadan

fuad pulpadan

12y
2.4k
1
Hi all,

       I am craeting a windows application with vb.net 2005. I am using Panel with 'Dock' Property is 'Left'. My panel includes Buttons also.In the application in  MouseEnter event of the Panel will set the Panel.Width=200. And in MouseLeave Event,Panel.Width=10. But the problem is While MouseEnter on the buttons inside the panel,the Panel_MouseLeave Event is triggering and Panel Width is set to 10. How to rectify this problem

Please help me.

Best regards,
Fuad
Answers (3)