Tab Control and navigation buttons

  • Thread starter Thread starter Jack Russell
  • Start date Start date
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
 
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
 
Back
Top