473,511 Members | 14,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TabControl with BOTH Top and Bottom alignment?

Hi everyone,
I'm another newbie with C# so bare with me :) OK, here is what
I wanted to do: Create a TabControl that will have some TabPages
aligned to the TOP and some TabPages aligned to the BOTTOM. Is it
even possible? Currently I created 2 TabControls, one with Top
alignment and the other with Bottom alignment, but that's kinda
cheating my way in, and it doesn't look good. Any good suggestions?

Thanks a lot
Nov 15 '05 #1
2 2182
Cancerman,

You can always create a custom control, but you would have to do much of
the event handling and the painting yourself. There *might* be a
third-party control out there that does this, but I am not sure. You might
want to check out the section of the .NET framework documentation titled
"Creating a Windows Form User Control" located at (watch for line wrap):

http://msdn.microsoft.com/library/de...formusecon.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

<CA*******@CANCERMAN.COM> wrote in message
news:5h********************************@4ax.com...
Hi everyone,
I'm another newbie with C# so bare with me :) OK, here is what
I wanted to do: Create a TabControl that will have some TabPages
aligned to the TOP and some TabPages aligned to the BOTTOM. Is it
even possible? Currently I created 2 TabControls, one with Top
alignment and the other with Bottom alignment, but that's kinda
cheating my way in, and it doesn't look good. Any good suggestions?

Thanks a lot

Nov 15 '05 #2
Yeah, that's what I thought. I think that's probably the only way to
do it (w/o paying for it), is to create my own control. Well...
there's always a first time for everything. lets make this my frist
time to build my own controls (well a more complex one)..

Thanks for the help Nicholas

On Wed, 1 Oct 2003 08:40:13 -0400, "Nicholas Paldino [.NET/C# MVP]"
<ni**************@exisconsulting.com> wrote:
Cancerman,

You can always create a custom control, but you would have to do much of
the event handling and the painting yourself. There *might* be a
third-party control out there that does this, but I am not sure. You might
want to check out the section of the .NET framework documentation titled
"Creating a Windows Form User Control" located at (watch for line wrap):

http://msdn.microsoft.com/library/de...formusecon.asp

Hope this helps.


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1729
by: Alberto | last post by:
How can I do to show the tabs in a TabControl in the botton of the control? Thank you.
0
1147
by: Colin | last post by:
Hey all, I'm having a bit of an issue with the TabControl (1.0.5000.0) under Visual Studio .NET 2003... Was wondering if anyone had seen it before... Basically, I have drawn a TabControl, and...
8
15642
by: Aaron Ackerman | last post by:
If I am expanding (maximizing a form how do I maximize the tab control along with it?
9
3440
by: Michael Turner | last post by:
Hi Guys Having problem with the tab control, I need to set the background color to something different than the standard, I have found code on the web and now can redraw the tabpage buttons so...
5
3323
by: Zadkin | last post by:
Does anyone know, if it's possible to set the orientation of the tabpagebuttons to horizontal instead of vertical when the alignment property of my tabcontrol is set to left or right? Thanks in...
8
1239
by: bastawhiz | last post by:
In Whidbey, is there a way to make a tab control similar to the one shown off in the MyProject page (the one with the tabs on the left instead of top)? Thanks in advance, MAtt
2
3339
by: Simon Verona | last post by:
I have a few hundred forms in my application. All are based on a custom base form class. I decided that I wanted to globally change the look and feel of many of the controls in my application -...
1
358
by: =?Utf-8?B?Qm9i?= | last post by:
I have converted a VB6 program to Visual Basic 2005 (Running on Windows XP). I have a TabControl with (2) tabs with left side alignment. My problem; with 2005 the Tab Captions (Text) does not...
1
3437
by: =?Utf-8?B?QWxleCBLLg==?= | last post by:
Hi all In a Visual Studio 2005 C# project, I have a simplest tabcontrol with two tabpages. When I set tab control's Alignment property to Right, tab texts (captions) disappear. Does anybody...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7417
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5659
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3219
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.