Writing Custom TabControl with C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everybody,
I need to create my custom TabControl, someone could give me some guideline
to start write this control with C#?
For this custom control I also need to rewrite te TabPages?
I've to Inherits Control or can I use a Panel?
There are example somewhere?

Thanks to all
Gizmo
 
It is better to derive from the Control or a UserControl if you are using CF
v2.
You will have a parent control TabControl and childs as TabPages.
 
Hi Alex,
i'm not usig CF v2, because I use VS2003.
You think I need to write a TabControl derived from Control and also write
TabPage from Control.
My custom TabControl need to change the color of the Background and the tab.

Thanks
 
Gizmo,

Its a reasonably common requirement to write your own tab control, when you
need finger size controls. If you are using VS2003 just start by inheriting
from Control and add a collection of tabpages. There are lots of tab
controls around if you google.

Graham
 
Back
Top