TabControl
Definition
The TabControl class provides functionality for working with NTTabPage objects within an NTWindow. TabControl should be instantiated within the constructor for an NTWindow instance, in order to configure the window to be able to host and work with tabs.
Note: For a complete, working example of this class in use, download framework example located on our Developing AddOns Overview.
Examples
In the example below, we define an instance of NTWindow, then use TabControl to accomplish various setup tasks:
- Provide the NTWindow with the ability to add, remove, and move tabs
- Attach a Factory to the TabControl to handle logic for creating new tabs
- Set up the TabControl with the ability to utilize window linking

