I'm writing SideBar component

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I'm writing SideBar conmonent and there are some problems with this.
SideBar is inherited from Panel i.e. Then I add button (i.e. close button)
to my SideBar. SideBar has posibility to expand and collapse. That I'm trying
handle by using OnMouseEnter and OnMouseLeave. The biggest problem is that
when I'm trying to close the sidebar by using my button (close button),
OnMouseLeave is generated. I think it happens because c# thinks close button
is saparate component.

Please, help me, really need your help.
 
OK, I've found a play around method. Need to add sidebars' MouseEnter and
MouseLeave handles for all controls within sidebar and to play with
enabling/disabling timer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top