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

panel1.visible=true
panel2.visible=false

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

panel1.visible=false
panel2.visible=true

Is that what you mean?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.