How to put a control beside a TabControl?

  • Thread starter Thread starter Vanessa
  • Start date Start date
V

Vanessa

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 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
 
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
 
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

:




- 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.
 
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.
 
Back
Top