spnActTree function

Get/Set active tree (the top tab)