Nevron Forum

Regarding HasClose property of NTabControl

https://www.nevron.com/Forum/Topic3799.aspx

By saurabh shukla - Thursday, July 8, 2010

Dear Sir, there is a property of HasClose in Ntabcontrol. but when we run the project and close any tab page then (its instance is not disposed only it is hide, according to my research) how we reopen that tab page again and how i call the dispose event or by which event it is driven close event of tab pages.


Thanks and Regards
Saurabh Shukla
By Angel Chorbadzhiev - Thursday, July 15, 2010

Dear Saurabh,

When close button of the NTabControl is clicked the active NTabPage is removed from TabPages collection.

You can reopen this tab page as you add it to this collection again.

nTabControl1.TabPages.Add(nTabPage1);

or

nTabControl1.TabPages.Insert(0, nTabPage1);

nTabControl1.SelectedTab = nTabPage1;

Could you please elaborate the second part of your question, because I am not sure I got it correctly.

Regards,

Angel.