Profile Picture

Regarding HasClose property of NTabControl

Posted By saurabh shukla 14 Years Ago
Author
Message
Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

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.

 

 



saurabh shukla
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1
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



Similar Topics


Reading This Topic