473,378 Members | 1,451 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,378 software developers and data experts.

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 1835
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.TabPages collection.

Pete
Aug 26 '07 #2
On Aug 26, 6:08 am, Peter Duniho <NpOeStPe...@NnOwSlPiAnMk.comwrote:
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.TabPages 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...@NnOwSlPiAnMk.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
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...
2
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...
2
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. ...
13
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...
2
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
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...
4
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.,...
1
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...
9
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.