473,770 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

display a tab to the right of the tab control

Hi,

I added a tab control to my form. I need to add the tab pages to the
control at run-time. But this is little different from the normal way.
I need to display one specific tab to the right most, while the other
tabs can be from left to right. Do I need to inherit the control and
specify the location for the specific tab? Please suggest how to do
this??

Thanks,
Hari

Aug 26 '07 #1
4 1855
ha************@ gmail.com wrote:
Hi,

I added a tab control to my form. I need to add the tab pages to the
control at run-time. But this is little different from the normal way.
I need to display one specific tab to the right most, while the other
tabs can be from left to right. Do I need to inherit the control and
specify the location for the specific tab? Please suggest how to do
this??
You should be able to accomplish what you want simply by ensuring that
the tab that needs to be right-most is always the last TabPage instance
in the TabControl.TabP ages collection.

Pete
Aug 26 '07 #2
On Aug 26, 6:08 am, Peter Duniho <NpOeStPe...@Nn OwSlPiAnMk.comw rote:
hariadusuma...@ gmail.com wrote:
Hi,
I added a tab control to my form. I need to add the tab pages to the
control at run-time. But this is little different from the normal way.
I need to display one specific tab to the right most, while the other
tabs can be from left to right. Do I need to inherit the control and
specify the location for the specific tab? Please suggest how to do
this??

You should be able to accomplish what you want simply by ensuring that
the tab that needs to be right-most is always the last TabPage instance
in the TabControl.TabP ages collection.

Pete
Hi Peter,

Following is what exactly I want.

As the tabs get added at run-time they are added in the normal way
left-to-right. But one specific tab should look like the first tab
when added from right-to-left. For eg, if there are totally 3 tabs on
the control, two should appear from left, one should appear on the
right. Please suggest.

Thanks,
Hari.

Aug 27 '07 #3
ha************@ gmail.com wrote:
As the tabs get added at run-time they are added in the normal way
left-to-right. But one specific tab should look like the first tab
when added from right-to-left. For eg, if there are totally 3 tabs on
the control, two should appear from left, one should appear on the
right. Please suggest.
What about my suggestion have you tried, but not been able to use to get
what you want? What exactly are you having trouble with?

Pete
Aug 27 '07 #4
On Aug 27, 11:57 am, Peter Duniho <NpOeStPe...@Nn OwSlPiAnMk.com>
wrote:
hariadusuma...@ gmail.com wrote:
As the tabs get added at run-time they are added in the normal way
left-to-right. But one specific tab should look like the first tab
when added from right-to-left. For eg, if there are totally 3 tabs on
the control, two should appear from left, one should appear on the
right. Please suggest.

What about my suggestion have you tried, but not been able to use to get
what you want? What exactly are you having trouble with?

Pete
Hi Peter,

Yes, I tried the one you suggested. If I have only 3 tabs the 3rd
tab(tabs heading) is displayed at the middle of the tab control, not
to its right. But what I want is two tabs to be drawn from left-to-
right(normal) and the other tab to look like one which id drawn from
right-to-left.So there should be a space between the first two tabs
and the 3rd tab. Please suggest on the same.

Thanks,
Hari.

Aug 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1569
by: Marcia | last post by:
Hello. I have just enrolled in a Visual Basic class, so please forgive this very basic question about the display environment of the VB Editor.... The illustrations in my textbook indicate that they can choose the form that they have created in the Class View and, to the right of that, they can choose one or more **specifically-named** event procedure(s) that they have written for various objects (ie., btnPush_Click).
2
13146
by: Aaron N. | last post by:
I am currently rewriting an application originally developped in VC++ that plays a .wav file and displays a representation of the waveform as it is played (with a marker indicating current position in the audio file); making use of DirectX9. So far I am able to load and play, stop and resume play of a sample .wav file. I am making use of a previously developed user control that is capable of displaying the waveform (statically),...
2
1307
by: tale | last post by:
Does anybody know if it is possible for me to display a web page from within my windows application when using No Touch Deployment. Currently, we do almost everything in the windows client. However, we have a few reports on our website that we make available through the windows client for convienence. What I'm trying to do is figure out a way to display the web page when the user selects the page from our menu. I'm open to any ideas...
13
3907
by: KMiller | last post by:
I would like to control entry into one or more of the tabs > I have set up on my Tab control based on set rules. Does > anyone know how to grey-out the text so that a user will > see that they do not have access to that particular tab? > > I tried setting the enabled = false for the given tab, but > it only seems to work in the form assembly section (that > is, if I do it after the form is loaded through a > function, it doesn't seem...
2
19875
by: Mamatha | last post by:
Hi I want to add an icon to the textbox's text. I don't know how to display icon in textbox in VB.NET. If any one knows please let me know. Thanks in advance. Mamatha
1
2432
by: mike11d11 | last post by:
I created a database to work out of at my office, right now we work out of a unix system. we connect using a telnet session software that came with our system we use, but was wanting to place this telnet session in a control or something inside my database form, so everything will be in one place. So when they go into the database it will have the telnet connection there for them and they wont have to go start the connection through...
4
2738
by: rszebras | last post by:
I inherited a database (as a novice at Access) and need to modify it to make it more efficient, i.e., the assignment form needs to autopopulate with the client's name, address, phone number, etc., when you select the cust id. Found this cited as a good method: http://www.mvps.org/access/forms/frm0058.htm I have two tables (clients, assignments) and one form (assignment input) in the database. I have a control box called CUST ID in the...
1
1862
by: bernie77 | last post by:
Originally, I have the a panel with a drop down list and a radio button list (2 controls). Now user requests the capability to dynamically show the second control depending on user selection in the first control (drop down list). Sometimes the 2nd control can be a radiobuttonlist, sometimes the 2nd control can be another dropdownlist. How can I use code behind (in C#) to display the appropriate control at proper place of the panel? Any...
9
4122
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is in another class from the main class. So it couldn't access the Status Line or textbox. So what we did was set them up as properties: string IStatusDisplay.Status
0
10254
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
10099
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...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
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
8929
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
7451
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
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2849
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.