943,724 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 5695
  • VB.NET RSS
May 7th, 2008
0

TabControl with horizontal tabpages

Expand Post »
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!
Reputation Points: 87
Solved Threads: 128
Practically a Master Poster
Oxiegen is offline Offline
652 posts
since Jun 2006
May 7th, 2008
0

Re: TabControl with horizontal tabpages

I don't really understand what you are trying to do but for more customization of tabcontrol goto TabControl1 > Tab Pages > Collection > and press "...".
Reputation Points: 10
Solved Threads: 8
Junior Poster
toko is offline Offline
104 posts
since Aug 2007
May 8th, 2008
0

Re: TabControl with horizontal tabpages

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?
Reputation Points: 87
Solved Threads: 128
Practically a Master Poster
Oxiegen is offline Offline
652 posts
since Jun 2006
May 8th, 2008
0

Re: TabControl with horizontal tabpages

Ohh i see what you mean, and from what i know you can't. However, im a begginer and there probably is a way you can do it. Im saying this because i've seen it done before.
Good luck
Reputation Points: 10
Solved Threads: 8
Junior Poster
toko is offline Offline
104 posts
since Aug 2007
May 8th, 2008
0

Re: TabControl with horizontal tabpages

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.
Reputation Points: 87
Solved Threads: 128
Practically a Master Poster
Oxiegen is offline Offline
652 posts
since Jun 2006
May 9th, 2008
0

Re: TabControl with horizontal tabpages

I figured it out with the help from this guide:
No major customization needed.

http://en.csharp-online.net/TabContr...s_horizontally
Reputation Points: 87
Solved Threads: 128
Practically a Master Poster
Oxiegen is offline Offline
652 posts
since Jun 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Database not getting updated
Next Thread in VB.NET Forum Timeline: SQL Connection Issues over time





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC