Hi, i got a Toolstrip with buttons on it how can i program it such that will perform the following:
For Example i have a two pages , when i press button1 on the toolstrip page 1 appear on the form and when i press button2 on the toolstrip page 2 appear on the same form replacing page 1.

How I..............
.NETPhreak
Sorry for the poor explaination, anyway can the common controls be put onto the tab pages
Joshua Nobes
Madiba
Just drag the control from the toolbox to your form, set its Dock property to Fill and edit TabPages by clicking the button with the TabPages property. You can later select tabs by clicking on them and drag the controls on each tab.
Andrej
J_Dude2003
Hi,
I'm not sure what you mean by "page". If you're referring to tab pages, use tabcontrol's SelectedPage or SelectedIndex property to set the appropriate tab.
Andrej
R8VI
Yes. If you put the tabcontrol on your for, dock it to fill and set its tab pages, it will look similar to tabbed code windows in Visual Studio.
Andrej
Karl Hulme
Of course. Think of tab page as a panel. [TabPage control in fact derives from Panel control].
Andrej
Arthur Greef
VooDoo Chicken
Thanks a lot for the help. Greatly Appreciated.