I am working with tab controls (tab1, tab2, etc)  I want to more than one panel in tab1 and switch between them using a button. My problem is working with more than one panel in tab1. Please help. This is an educational program i am working on for schools in the Dominican Republic. Any help will be greatly appreciated.

you can set the panel visible property true or false. For example, when you click the Button1 it will show the panel1 visible and the panel2 to hide then set this code in your button


Another case, when you click button2 the panel2 will show and the panel1 will hide, this will be the code in your button2


Is that what you mean?