473,379 Members | 1,207 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,379 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 1880
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.