Regarding HasClose property of NTabControl


Author
Message
Angel Chorbadzhiev
Angel Chorbadzhiev
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
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
saurabh shukla
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
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search