tabcontrol and TabPage

M

Maileen

Hi,

I have a Tabcontrol on my form which display 2 pages (so tabpage1 and 2).
I would like to not see these "tabs" (where is written TabPage1 and
2)... for switching from 1 page to the other i use some treelist control.

So, how can i hide these tab on the top of my TabControl (but they must
be enabled) ?

thanks a lot,
Maileen
 
H

Herfried K. Wagner [MVP]

Maileen said:
So, how can i hide these tab on the top of my TabControl (but
they must be enabled) ?

\\\
Me.TabControl1.Region = _
New Region( _
New RectangleF( _
Me.TabPage1.Left, _
Me.TabPage1.Top, _
Me.TabPage1.Width, _
Me.TabPage1.Height _
) _
)
///
 

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