Set active tab on tabSet
Manipulate the selected tab programmatically.
Submitted by Zef Hemel on 19 April 2011 at 13:59
Issue Log
On 19 April 2011 at 14:01 Zef Hemel closed this issue.
On 19 April 2011 at 14:01 Zef Hemel commented:
tabSet
now has an additional (optional)activeTab
argument (of type String) that defines (and changes according to) the currently selected tab:
var tab = “Tab 3”
tabSet([(“Tab 1”, "", tab1), (“Tab 2”, "", tab2), (“Tab 3”, "", tab3)], activeTab=tab)
button(“Select 1”, onclick={
tab = “Tab 1”;
})
Log in to post comments