Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1055
Close tab on middle mouse button click
posted

Hallo,

 I'm using Infragistics 7.3 and I have a UltraTabbedMdiManager. I want that the tab will be closed if I click with the middle mouse button on a tab header (like InternetExplorer 7, Firefox or Opera). Is there any possibility? I found no mouse click event.

Thank's

Parents
No Data
Reply
  • 44743
    posted

    This functionality is built-in in version 8.1 and later. If you want to implement it manually in earlier versions, you will have to hook the MouseDown of the MdiTabGroupControl instances added to the MdiClient of the mdi parent Form. If you hook the ControlAdded and ControlRemoved of the MdiClient control, you can hook the MouseDown when a control is added and unhook when it is removed.

Children