fuad pulpadan

fuad pulpadan

  • NA
  • 45
  • 57.6k

MouseEnter Event problem for panel with 'Dock' property

Aug 7 2012 5:56 AM
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)