Class: DuTab

DuTab

For use with DuScriptUI.
A DuTab inside a DuTabPanel.
This is not a real class, and cannot be instanciated.
Use DuTabPanel.add to create a new DuTab.

new DuTab()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 12484
Properties:
Name Type Description
index int The index of this tab.
button DuButton The button associated with this tab.
onActivate DuTab~tabActivated The function to execute when the tab is displayed.
onActivate DuTab~tabDeActivated The function to execute when the tab is hidden.
build DuTab~build You can use this callback to add a function which builds the UI of the tab, it will be called on first display.

Type Definitions

build()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 12510
You can use this callback to add a function which builds the UI of the tab, it will be called on first display.
This allows a faster startup of your script by delaying the creation of the tabs which are hidden at startup.
You can add controls in the this object.

tabActivated()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 12498
The function to execute when the tab is about to be displayed.

tabDeActivated()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 12504
The function to execute when the tab is hidden.