471,337 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

How to put a control beside a TabControl?

Hi all!

Is it possible to put a textbox ou label after tab control page names?

I'd like to put some information after the pages, like this:

"Tab Page 1" "Tab Page 2" "Tab Page 3" textbox or label here

Thank you!
Vanessa
Jun 27 '08 #1
4 1792
On May 28, 9:49*am, Vanessa <Vane...@discussions.microsoft.comwrote:
Hi all!

Is it possible to put a textbox ou label after tab control page names?

I'd like to put some information after the pages, like this:

"Tab Page 1" * "Tab Page 2" *"Tab Page 3" * *textbox or label here

Thank you!
Vanessa
Hi,

Yuo mean in the tab itself?
No directly, you have two options:
1- Especialize the TabControl control and allow for the addition of
the button as you want. Don't know how difficult this is or what level
of knowledge you have.
2- You can use a regular button and simply placed it in the correct
position. Depending of how you are anchoring your controls that should
work
Jun 27 '08 #2
Hi Ignacio!

Thank you for your answer.

What I mean is to put a control in the same line where the name of the pages
are. Just a textbox or a label, not a button. Do you have an example that I
could follow?

Thank you
Vanessa

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On May 28, 9:49 am, Vanessa <Vane...@discussions.microsoft.comwrote:
Hi all!

Is it possible to put a textbox ou label after tab control page names?

I'd like to put some information after the pages, like this:

"Tab Page 1" "Tab Page 2" "Tab Page 3" textbox or label here

Thank you!
Vanessa

Hi,

Yuo mean in the tab itself?
No directly, you have two options:
1- Especialize the TabControl control and allow for the addition of
the button as you want. Don't know how difficult this is or what level
of knowledge you have.
2- You can use a regular button and simply placed it in the correct
position. Depending of how you are anchoring your controls that should
work
Jun 27 '08 #3
On May 28, 5:14*pm, Vanessa <Vane...@discussions.microsoft.comwrote:
Hi Ignacio!

Thank you for your answer.

What I mean is to put a control in the same line where the name of the pages
are. Just a textbox or a label, not a button. Do you have an example that I
could follow?

Thank you
Vanessa

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On May 28, 9:49 am, Vanessa <Vane...@discussions.microsoft.comwrote:
Hi all!
Is it possible to put a textbox ou label after tab control page names?
I'd like to put some information after the pages, like this:
"Tab Page 1" * "Tab Page 2" *"Tab Page 3" * *textbox or label here
Thank you!
Vanessa
Hi,
Yuo mean in the tab itself?
No directly, you have two options:
1- Especialize the TabControl control and allow for the addition of
the button as you want. Don't know how difficult this is or what level
of knowledge you have.
2- You can use a regular button and simply placed it in the correct
position. Depending of how you are anchoring your controls that should
work- Hide quoted text -

- Show quoted text -
Hi,

No, I do not.
I do not how easy it owuld be for you to go with route #1 but route #2
can be useful IF the controls are always going to be in the same place.
Jun 27 '08 #4
You would need to put the label onto the form and use Bring To Front so that
it appears on top of the tabcontrol. You should position it by using the
cursor keys.

Be aware that the tabcontrol will change tabsize depending on user settings
(DPI, system fonts, large or extralarge theme settings etc...). If the tabs
will not fit onto one line then scroll buttons will apear. Your design would
prevent access to these buttons and so I would suggest that you rethink the
design.

--
Mick Doherty
http://www.dotnetrix.co.uk/nothing.html
"Vanessa" <Va*****@discussions.microsoft.comwrote in message
news:4A**********************************@microsof t.com...
Hi all!

Is it possible to put a textbox ou label after tab control page names?

I'd like to put some information after the pages, like this:

"Tab Page 1" "Tab Page 2" "Tab Page 3" textbox or label here

Thank you!
Vanessa

Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by meh | last post: by
5 posts views Thread by Doug Handler | last post: by
3 posts views Thread by Marc Solé | last post: by
2 posts views Thread by (PeteCresswell) | last post: by
17 posts views Thread by Kbalz | last post: by
2 posts views Thread by naamala | last post: by

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.