~~Title: ActivateTabData ~~
If a [[:scripting:script_add-ins|script add-in ]]implements the **[[..:scripting_events:onactivatetab|OnActivateTab ]]**event, the method receives an **ActivateTabData** object whenever the activation state of a tab changes.
$$ Property Name
$$ Return Type
$$ Description
$$ closing
$$ //bool//
$$ Returns **True** if the activation change is due to the old tab being closed.
$$ newtab
$$ //object://**[[tab|Tab]]**
$$ Returns a **[[tab|Tab]]** object representing the tab that has become active.
$$ oldtab
$$ //object://**[[tab|Tab]]**
$$ Returns a **[[tab|Tab]]** object representing the tab that has gone inactive.
$$ qualifiers
$$ //string//
$$ Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.\\
The string can contain any or all of the following: //shift// //ctrl//, //alt//, //lwin//, //rwin//\\
If no qualifiers were down, the string will be: //none//