| | |
TabControl with horizontal tabpages
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Jun 2006
Posts: 68
Reputation:
Solved Threads: 8
Hi, it's me agin.
I would like to know if it's possible to customize a tabcontrol, so that I can have the tabpages shown horizontally when alignment is set to left or right.
If so, could someone give an example, or a link, of how to accomplish this?
I've been working with overriding OnDrawItem, but all I manage to do is make a complete mess.
Thanks!
I would like to know if it's possible to customize a tabcontrol, so that I can have the tabpages shown horizontally when alignment is set to left or right.
If so, could someone give an example, or a link, of how to accomplish this?
I've been working with overriding OnDrawItem, but all I manage to do is make a complete mess.
Thanks!
•
•
Join Date: Jun 2006
Posts: 68
Reputation:
Solved Threads: 8
I know how to use the TabControl as it is. I've used it many times.
And I know that you can align the actual tabs in any orientation, Top/Left/Bottom/Right.
However, when aligning them either Left or Right, the tabs are displayed vertically.
I would like to have them displayed horizotally, as if they would be when aligned Top or Bottom. But lined up vertically.
(tabs) (tab page)
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
(I suck at ascii graphics)
Is this possible?
And I know that you can align the actual tabs in any orientation, Top/Left/Bottom/Right.
However, when aligning them either Left or Right, the tabs are displayed vertically.
I would like to have them displayed horizotally, as if they would be when aligned Top or Bottom. But lined up vertically.
(tabs) (tab page)
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
________|¤¤¤¤¤¤¤¤¤¤¤¤|
(I suck at ascii graphics)
Is this possible?
•
•
Join Date: Jun 2006
Posts: 68
Reputation:
Solved Threads: 8
I believe it can be done, I just don't know how.
I do know that it requires some major customazation.
So I was wondering if anyone could provide with some intel or links as to where one might find such a control without, or prefereble with, sourcecode.
I've done some major google'ing, but most of my hits turn out to be nothing of what I'm looking for.
I do know that it requires some major customazation.
So I was wondering if anyone could provide with some intel or links as to where one might find such a control without, or prefereble with, sourcecode.
I've done some major google'ing, but most of my hits turn out to be nothing of what I'm looking for.
•
•
Join Date: Jun 2006
Posts: 68
Reputation:
Solved Threads: 8
I figured it out with the help from this guide:
No major customization needed.
http://en.csharp-online.net/TabContr...s_horizontally
No major customization needed.
http://en.csharp-online.net/TabContr...s_horizontally
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Database not getting updated
- Next Thread: SQL Connection Issues over time
Views: 2551 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2008 access advanced application array basic beginner browser button buttons center class click client code combo convert cuesent data database datagrid datagridview date datetimepicker design designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function html images lib listview map mobile module msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read refresh regex richtextbox right-to-left save search serial settings shutdown socket sorting sqldatbase sqlserver studio temperature textbox timer timespan transparency txttoxmlconverter usercontol validation vb vb.net vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web webbrowser winforms winsock wpf wrapingcode xml year





