Please help me How to close TabstripPage....

Docking/MDI for Windows Forms Forum

Posted 10 years ago by Dao Van Cuong
Version: 2.0.0107
Avatar
Hi every one!
I am new commer of Actipro
Now I have some problems that need helps from you
I am using Tabstrip. I make closeButtonVisible of Tabstrip to true.
then I create three tabstrip pages. Now I click on close button to close current tabstrippage of Tabstrip but nothing happens.
So please tell me what must I do, which events of tabstrip that can do it or which properties of tabstrip that I have to change so that It can close current tabstrippage right after I click on closeButton of TabStrip
Thanks in advance!

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Please look in the sample project at the TabStripForm.tabStrip_Command event handler. That shows how you can handle the TabStrip.CloseCommand and respond to it by removing the selected tab page.


Actipro Software Support

Posted 10 years ago by Dao Van Cuong
Avatar
Thanks for your support
Can you tell me If your TabstripPage has PopupMenu. So that I can right click and then press close menuitem on that popupmenu instead of pressing close button of Tabstrip
Thanks in advance
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Dao,

Not built-in however it does have a TabStrip.TabStripPageTabContextMenu event you can handle to show any custom context menu.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 6 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.