You can now programmatically Enable, Disable and Select a tab on the form. The generic syntax is:
form.EnableTab(integer);
form.DisableTab(integer);
form.SelectTab(integer);
where interger represents the tab's ordering spot on the form, starting with 0 for the first tab.
For example, to select and display the contents of the second tab on the form:
form.SelectTab(1);
To disable the second tab on the form:
form.DisableTab(1);
To enable the second tab on the form (in case you had previously disabled it through scripting):
form.EnableTab(1);