This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The button will be the trigger for the switching action. Yes. But the button need not be the only trigger. You can have a menu based trigger, or a keyboard based trigger or even a mouse based trigger. It all depends on what your requirement is.