By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 965 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

TabControl and TabPage

P: n/a
Hi,

Few weeks ago, i asked how to do a tabpage where we don't see the button on the top...
in fact, i needed only to show the tabpages without showing the tabpage button (for design purpose)

the solution was to make the button height close to zero...

is it still the only one solution or exist another one ?

thanks a lot,
Alain
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Maileen" <no*****@nospam.com> schrieb:
Few weeks ago, i asked how to do a tabpage where we don't see the button
on the top...
in fact, i needed only to show the tabpages without showing the tabpage
button (for design purpose)

the solution was to make the button height close to zero...

is it still the only one solution or exist another one ?


Removing a tabcontrol's tabpage headers
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tabcontrolremoveheaders&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
A much better solution is to create a Tabless TabControl.

See the PanelManager Class on my site:
http://www.dotnetrix.co.uk/custom.html

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Maileen" <no*****@nospam.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
Hi,

Few weeks ago, i asked how to do a tabpage where we don't see the button
on the top...
in fact, i needed only to show the tabpages without showing the tabpage
button (for design purpose)

the solution was to make the button height close to zero...

is it still the only one solution or exist another one ?

thanks a lot,
Alain

Nov 21 '05 #3

P: n/a
thanks a lot,

but how to use it ?

shouldi create a component, or include it as *.vb file ?
please, detail use,
thanks,
Maileen
\Mick Doherty wrote:
A much better solution is to create a Tabless TabControl.

See the PanelManager Class on my site:
http://www.dotnetrix.co.uk/custom.html

Nov 21 '05 #4

P: n/a
Option 1:
Add the code as a vb file and rebuild the project.
Right click the toolbox and select "Add/Remove Items..."
Make sure the ".net components" tab is selected and browse to the bin
folder of your project.
Double click your projects exe file and click OK.
PanelManager should now be sitting in your toolbox ready for use.

Option 2:
Add a new UserControl called PanelManager to your project.
Add the Controls Namespace, as in the code, but no other code yet.
Open the user control in design mode and rebuild the project.
You should now have a "My UserControls" tab in your toolbox which
contains the usercontrol.
Close the usercontrol designer.
Clear the code from the usercontrol and replace it with the code from
the site.
Rebuild the project.
Open your forms designer and drop a PanelManager on to it.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Maileen" <no*****@nospam.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
thanks a lot,

but how to use it ?

shouldi create a component, or include it as *.vb file ?
please, detail use,
thanks,
Maileen
\Mick Doherty wrote:
A much better solution is to create a Tabless TabControl.

See the PanelManager Class on my site:
http://www.dotnetrix.co.uk/custom.html

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.