• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 829
  • Last Modified:

Changing Tab location on a TabControl

I would like to change the location of the tabs of the TabControl to the bottom instead of the top, But I don't know where to start to do this. Any Suggestions?

Thanks,
0
Koderiter
Asked:
Koderiter
1 Solution
 
AlexFMCommented:
Set control's Alignment property to Bottom.
0
 
KoderiterAuthor Commented:
Thank-you for your suggestion, I didn't know that, but also I forgot to mention that I'm using the Compact Framework and It appears to NOT have an alignment property.

Any Suggestions in Compact Framework?
Sorry I didn't mention this before.
0
 
HendrikTYRCommented:
Hi Koderiter,

Not sure if this will help, but here is the line that the full framework GUI generates when you change the alignment to bottom:

            this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;

Regards
Hendrik
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
KoderiterAuthor Commented:
Hendrik,
 Thanks for the code, but unfortunately their is no Alignment property and there is not System.Windows.Forms.TabAlignment  in .NET Compact Framework.
I'm writing an application for a winCE unit, and I need to have the tabs at the bottom. Do I have to create my Own TabControl with the tabs on the bottom, or can I somehow inherit the Existing TabControl and just invert/ flip somehow?

Thanks,
Rj
0
 
viola123Commented:
Click the tab control > go to 'Properties' window at the right bottom > find the property 'Alignment' > click that field and select 'Bottom'
0
 
HendrikTYRCommented:
Hi Koderiter,

It looks like your stuck with the tabs position, unless you write your own control:

http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfPPCtoCE.asp?frame=true#netcfppctoce_topic5 

Regards
Hendrik
0
 
KoderiterAuthor Commented:
Thanks for your input. I will have to write my own control.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now