Writing Custom TabControl with C#

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
 
G

Guest

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.
 
G

Guest

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
 
G

Graham McKechnie

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
 

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