Tabs on Top Right in TabControl
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.windowsforms.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Adam Brown via .NET 247 (VIP)
How do I get the tabs to draw themselves on the top right in the tab control.

I have looked at the tabcontrol.alignment but it only has top OR right.

I have tried changing the Left and Right properities of the tab when it's being drawn but they are read-only properities.

Thanks,

--------------------------------
From: Adam Brown

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>eyVbZPJuj0mBvnDulZzYLA==</Id>
Reply to this message...
 
    
Iulian (VIP)
Did you try to set the RightToLeft property to "true"?

Iulian

"Adam Brown via .NET 247" wrote:

[Original message clipped]

Reply to this message...
 
    
Roy Soltoff
Don't know where you were looking but the TabAlignment enumeration lists
Top, Left, Bottom, and Right. Works for me.

"Adam Brown via .NET 247" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
> How do I get the tabs to draw themselves on the top right in the tab
control.
[Original message clipped]

Reply to this message...
 
    
Mick Doherty
I think he wants Top aligned - right to left. AFAIK you cannot do this with
a standard tab control and I do not know of a third party control that
supports it.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html

"Roy Soltoff" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004

Reply to this message...
 
 
System.Windows.Forms.RightToLeft
System.Windows.Forms.TabAlignment




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com