473,322 Members | 1,398 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 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 1876
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ColinC | last post by:
Hi, as a newbie to Visual Studio C# Forms development, I'd like some advice on the following. I have a form with a tab control. I have some tab titles that are three words e.g "house &...
7
by: Mark Denardo | last post by:
Hi I have a TabControl object that I need to insert new TabPages into. To append them to the end of the Controls Collection I can do: tc.controls.add(tp) (tc - tabcontrol object) (tp -...
3
by: meh | last post by:
Hi All; After creating a new tab if I delete the tab I cannot close my app from the X in the upper right of the window. NE1 have a clue why. Tried stepping through the delete seems to work fine...
5
by: Doug Handler | last post by:
Hi, I have a form (Form1) that contains a tab control which one tab has a customer user control (UserControl1). When the user double-clicks on the grid hosted there a new user control is...
3
by: Marc Solé | last post by:
Hello to everybody. I have a little problem with a Custom Control that I have created. The thing is that in my control, when I click a button, it should create another object in the main form. ...
2
by: (PeteCresswell) | last post by:
I've got a form that has a TreeView in the upper part of the form and a TabControl in the lower. When processing a Resize event, the TabControl does not need tb resized - just moved so that the...
7
by: ApexData | last post by:
I am using the following code in my TabControl to manage subform loads. The code assigns the subForms SourceObject. - Do I also need code to DeAssign the SourceObject when leaving the Tab, I'm...
17
by: Kbalz | last post by:
I'm developing a Wizard type program, and I'm flipping between steps by using a TabControl.. buttons on each tabPage move to the next or previous tabPage. When I press CTRL+Tab however, the...
2
by: naamala | last post by:
Hi, I need to change individual tab's background color in TabControl in windows form. I am able to change the Backgrond color of each tab in TabControl with changing the property...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.