Jump to content

MDI using TabPages (internet browser style)

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
desir

desir

    Newbie

  • Members
  • Pip
  • 5 posts
I would like to do something similar to the way the tabs in firefox appear.
Each form appears in a new tab.
Each tab has a X button in the upper right corner and an icon that is associated with the form.

Thanks

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
To make Tabs it's simple.. just drag a Tab Panel (or something like that) on your form.. as for the X, like in FF.. I don't know if that is possible

#3
desir

desir

    Newbie

  • Members
  • Pip
  • 5 posts
Search on Google: A highly configurable MDI tab control from scratch
It's the first link.
Sorry can't post links.

This is exactly what i would like to achieve.
Only that its written in VB and I need it in C#... Some event handlers used there i guess don't exist in c#. And I don't think that tutorial is even complete.

Thanks!

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yes I understood exactly what you meant.. with a normal tab you cannot achieve that.. you need a custom control for that.

#5
desir

desir

    Newbie

  • Members
  • Pip
  • 5 posts
Just found a neat little one - TdhTabCtl from CodeProject :)