Tab View change via button?

I’ve got a tab view working nicely. However a colleague suggested a button which changes to a different tab view. Is that possible? Something like “tell tabview set frontmost to tab2”…?
thanks
Todd

Nevermind… I should have tried before posting!

For reference of those who choose to look here instead of trying themselves, (in Xcode 4),
1- select the Tab View
2- in Inspector, choose 6th button (connections inspector)
3- drag from ‘Select Next TabView Item’ to the button which advances the tab view.

Y