CreateTabPage()

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Add On > INTTabFactory Interface >

CreateTabPage()

Previous page Return to chapter overview Next page

This determines which NTTabPage is created whenever a new tab is needed in our parent window for our Add On.

 

 

Examples

ns


// INTTabFactory member. Creates new tab pages whenever the user presses the + button

public NTTabPage CreateTabPage(string typeName, bool isNewWindow = false)
{
  return new MyWindowTabPage();
}