Category / Section
How to close the child form when clicking the mouse middle button in WinForms TabbedMDIManager?
1 min read
Close the child form using mouse middle button
Firefox browser has a feature of closing its child pages when Middle clicking on their tabs. The same feature can be added to TabbedMDI, with the help of CloseOnMiddleButtonClick Property
C#
this.tabbedMDIManager.CloseOnMiddleButtonClick = true;
VB
Me.tabbedMDIManager.CloseOnMiddleButtonClick = True