Tab Control and navigation buttons

J

Jack Russell

I want to add navigation buttons to a tabcontrol (somewhat like excel)
How do I get the "tabs" to offset to the right so that I can draw the
buttons on the left?

TIA
 
M

Mick Doherty

It does in an indirect way.
You'll have to Hide the TabItems (An Alternative approach to TabPage
Navigation).
Add a second TabControl which is only the height of it's Tabitems and
position it directly above the main TabControl with an offset to allow your
Navigation buttons to be placed on the left.
Code the OnSelectedIndexChanged() event of the second TabControl to change
the TabPages of the first.
Alternatively, use a collection of buttons or a custom Toolbar for
navigation.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html


Jack Russell said:
Thanks for that , someuseful stuff there but it does not show me how to
get the navigation stuff to the left of the "tabs".

Jack Russell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top