Tab Control Close button

Docking/MDI for Windows Forms Forum

Posted 13 years ago by barrett
Avatar
using VB.NET. How can I hisde the tab control when the close button is clicked on the control

Comments (4)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Do you mean hide the entire tabstrip control when the close button is clicked or just the selected tab?


Actipro Software Support

Posted 13 years ago by barrett
Avatar
the whole control

thanks
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Take a look at TabStripForm in our sample project. In the tabStrip_Command method, it handles the close button right now but removes a tab page when it is clicked. Just change that code to hide the TabsStrip instead.


Actipro Software Support

Posted 13 years ago by barrett
Avatar
thnaks--worked great
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.