473,775 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1911
On May 28, 9:49*am, Vanessa <Vane...@discus sions.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...@discus sions.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...@discus sions.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...@discus sions.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*****@discus sions.microsoft .comwrote in message
news:4A******** *************** ***********@mic rosoft.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
14031
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 & garden" This makes the tab quite long compared to other tabs and means that not all tabs can be displayed on the screen. I want these to be displayed on the tab title as
7
6258
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 - tabpage object) But how can I insert them into the middle of collection? I see a 'RemoveAt' method that takes an index to remove at a specific location, how come
3
1573
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 but I can not close the app?????? I am creating a new Tab this way..... ElseIf e.Button Is tbNewVol Then
5
2103
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 created. I have a delegate / event that passes via EventArgs the appropriate info from the grid to the UserControl2. This works fine, except for now I'm a little lost on the final step....I need that once the UserControl2 is "filled out" that it is...
3
1823
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. My control is located in a TabPage, and I want that when the user clicks a button, a new tabPage is created, but by now, I don't know how to do that. Any ideas, suggestions, links are wellcomed.
2
2286
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 TreeView can be expanded/contracted to fill the available space. But there seems tb some sort of chicken-and-egg problem with objects within the TabControl. Their coordinates are expressed relative to the form instead of the TabControl and...
7
12310
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 thinking the Table will stay open otherwise ??? - Do I also need to use code to Assign the Child&Master Links, or can I just type the names into the subForms Control Property and just depend on the SourceObject to link to Table???
17
7434
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 tabControl begins to cycle through the tabPages, just as it does in Visual Studio, IE7 etc.. any tabbed program. I need this blocked.
2
1767
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 "DrawMode=OwnerDrawFixed". The problem When I use "DrawMode=Normal", tabcontrol rendering the background color of the form where there are no tabs, But When Change "DrawMode=OwnerDrawFixed", it's not rendering Form's BackGround Color where there are no tabs,...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9915
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.