StrataFrame Forum

tab controle

http://forum.strataframe.net/Topic26083.aspx

By Vikas Gupta - 2/17/2010

hello

i m making a project for this i need a tab controle

if we use ThemedTool Strip controle in place of Tabs then i got problem of tab page becoz

i need functionality like  ThemedLinkMenuSample

please ans

By Trent L. Taylor - 2/18/2010

Well, you can use the standard tab control which will be just that, a tab control. I am not totally following your post, but I think you are wanting horizontal tabs instead of vertical. But if the ThemedLinkMenu sample in combination with the PanelManager gives you what you want, then I am not understanding exactly what you need. Unsure
By Dustin Taylor - 2/18/2010

If you want to used a ThemedTooStrip, that is easy as well. You have to put the controlling logic in yourself, but it is about as easy as it gets. I've included a sample that shows how to do it.

In short, it has a ThemedToolStrip with 3 buttons, a PanelManager with 3 pages, and some random controls on each page so you can tell when it switches. When you click button1, you uncheck button 2 and 3, and tell the PanelManager to set the active page to Page1. Likewise, when you click button 2 or 3, you uncheck the other buttons, and set the active panel manager page appropriately.

You can see from this sample that you can turn anything into a tab control using a panel manager and a small amount of code.