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

Is there a known TabIndex bug?

I'm preparing a form with some controls laid out at design time and some
controls added dynamically at run time. During the latter I programatically
set the TabIndex of these new controls so that the tab order will flow like I
want.

But my settings seem to have no effect.

Is this a known bug with Windows Forms dotNet?
--
Robert W.
Vancouver, BC
www.mwtech.com

Nov 17 '05 #1
4 4834
Try setting the TabIndex property after you add the control to its parent's control collection (if you aren't already)

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Robert W." <Ro*****@discussions.microsoft.com> wrote in message news:4E**********************************@microsof t.com...
I'm preparing a form with some controls laid out at design time and some
controls added dynamically at run time. During the latter I programatically
set the TabIndex of these new controls so that the tab order will flow like I
want.

But my settings seem to have no effect.

Is this a known bug with Windows Forms dotNet?
--
Robert W.
Vancouver, BC
www.mwtech.com

Nov 17 '05 #2
Dave,

I got excited when I read your response because I was not doing that. So I
went to the trouble to change the TabIndexes late, after all the controls
were in place. I iterated through the code and the tabindexes are being
assigned as I expected. But it still doesn't work. It's as if the TabIndex
sequence is following some other logic sequence that I'm just not sure of.

Most frustrating!

--
Robert W.
Vancouver, BC
www.mwtech.com

"Dave" wrote:
Try setting the TabIndex property after you add the control to its parent's control collection (if you aren't already)

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Robert W." <Ro*****@discussions.microsoft.com> wrote in message news:4E**********************************@microsof t.com...
I'm preparing a form with some controls laid out at design time and some
controls added dynamically at run time. During the latter I programatically
set the TabIndex of these new controls so that the tab order will flow like I
want.

But my settings seem to have no effect.

Is this a known bug with Windows Forms dotNet?
--
Robert W.
Vancouver, BC
www.mwtech.com


Nov 17 '05 #3
Are the controls all in the same container (Form / Panel)?

Nov 17 '05 #4
Bruce, they're divided into different panels and sub-panels. Does this make
a difference? Coming from the VB6 world, I seem to recall that there was
just one master tabindex for the form.

If this is not the case with dotNet, could you explain to me how TabIndex
works in a multi-panel form or send me a link to read?

--
Robert W.
Vancouver, BC
www.mwtech.com

"Bruce Wood" wrote:
Are the controls all in the same container (Form / Panel)?

Nov 17 '05 #5

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

Similar topics

1
by: single_minded98 | last post by:
Eloo Everybody.. I need some help, all my asp page i already assign the tabIndex. Is there any sample when i click the input type (which tabindex assign to 1) and then the tabIndex focus to the...
3
by: Brad Isaacs | last post by:
Dear friends, I am using tabIndex and it works with my IE 5.5, IE6.0, and the NN6 browsers. However, it does not work for NN4. After reading online & seeing in my JavScript Bible that it is...
6
by: George Hester | last post by:
The reason why I want to do this is that I will set a form's elements to have a tabIndices. I start out with no tabbing. The page loads the cursor appears in a first Input box and until the user...
7
by: jerrygarciuh | last post by:
Hello, I have been playing with various Googled solutions for capturing the <Enter> key to suppress form submission. My first question is whether anyone has a script that works in all common...
2
by: kai | last post by:
Hi, All I try to setup Tebindex in ASP.NET page like in Windows form, using Tabview, but cannot fnd it. In the properties windows in ASP.NET, change Tabindex does not change the tab order. How...
4
by: Wayne Wengert | last post by:
I cannot get the tab settings on an aspx page to work as desired. First of all, I don't see a way to indicate whether a control is a tab stop. There is a tabindex property for labels (why?). When I...
0
by: Robert Boudra | last post by:
In VB6, if you set the TabIndex of a control, it would automatically increment the TabIndex of the remaining controls on the form so that there would be no duplication. In VB.net, it seems...
5
by: michael sorens | last post by:
I have a form with a variety of controls (TextBox, CheckBox, and Button). I have assigned TabIndex values starting from 1 at the top, working my way down the form to 15 at the bottom. Each of these...
3
by: Alex Maghen | last post by:
Hi I have three questions about the Tab Order that's rendered by default on an ASPX page: 1. On a page that's all ordered HTML (instead of absolute positioning), shouldn't the default be that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.