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

Tab Order Issue

Hi,
I have a form with about 40 text boxes and selection of panels and labels.
I applied them using cut and paste so went through and set the TabIndex
properties starting at zero and incrementing each one by 1.

If i press tab within the designer it works perfectly however once compiled
it moves between from the first to second, focus vanishes for a tab press and
then starts over on first control again.

Can anyone help me straighten this out please?
May 4 '07 #1
3 8403
On 4 May, 11:06, ShaunO <Sha...@discussions.microsoft.comwrote:
Hi,
I have a form with about 40 text boxes and selection of panels and labels.
I applied them using cut and paste so went through and set the TabIndex
properties starting at zero and incrementing each one by 1.

If i press tab within the designer it works perfectly however once compiled
it moves between from the first to second, focus vanishes for a tab press and
then starts over on first control again.

Can anyone help me straighten this out please?
If you look on the view menu there is a tab order option which will
put little visual tabs on all the controls showing the current order.
Then just click on each in the order you want to tab. It will show you
where your missing tab is going and should fix it without having to
fiddle with the tab index property. (This is VS 2003, the option may
have moved location in 2005 and I'm not sure if it's in Express at all
but I'd assume it is)

May 4 '07 #2
Hi,
I have a form with about 40 text boxes and selection of panels and
labels.
I applied them using cut and paste so went through and set the
TabIndex
properties starting at zero and incrementing each one by 1.
If i press tab within the designer it works perfectly however once
compiled it moves between from the first to second, focus vanishes for
a tab press and then starts over on first control again.

Can anyone help me straighten this out please?
A while ago I had a problem with tab-order: it turned out that one of the
controls had an OnLeave handler that set the focus to a specific control.

Hans Kesting
May 4 '07 #3
The TabOrder tool is a massive help and the issue centred around a
control.Select() occuring in an old Validating event handler.

Many thanks to you both.

"Hans Kesting" wrote:
Hi,
I have a form with about 40 text boxes and selection of panels and
labels.
I applied them using cut and paste so went through and set the
TabIndex
properties starting at zero and incrementing each one by 1.
If i press tab within the designer it works perfectly however once
compiled it moves between from the first to second, focus vanishes for
a tab press and then starts over on first control again.

Can anyone help me straighten this out please?

A while ago I had a problem with tab-order: it turned out that one of the
controls had an OnLeave handler that set the focus to a specific control.

Hans Kesting
May 4 '07 #4

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

Similar topics

2
by: Andrea | last post by:
Hi, I'm trying to emulate part of our client-server application as a web site so customers can use it, and I'm stuck when it comes to re-ordering items in a list. Basically we have a list of...
3
by: pyda001 | last post by:
Hi! We are working on a webshop issue and are facing the following problem. Chances are that this has been solved before and thus we don't need to reinvent the wheel. Our website is supposed...
9
by: sdbranum | last post by:
Tab pages, which I have added to forms in design view, are occassionally reordered without warning. Other than hard-coding the tab order by clearing then readding these same tab pages outside...
104
by: Beowulf | last post by:
I have the view below and if I use vwRouteReference as the rowsource for a combo box in an MS Access form or run "SELECT * FROM vwRouteReference" in SQL Query Analyzer, the rows don't come through...
29
by: pb648174 | last post by:
I have the following basic statements being executed: Create a temp table, #TempPaging Insert Into #TempPaging (Col1, Col2) Select Col1, Col2 From SomeOtherTable Order By Col2, Col1 Select...
9
by: John Rivers | last post by:
Hello, if you create this table: create table hello ( int a , int b constraint pk_hello primary key clustered ( a, b ) )
6
by: p_adib | last post by:
hello. I have 3 files: parent.cpp child.cpp driver.cpp I am working in visual C++ 6.0 and have all the files in one same project. When I ask the IDE to biuld my project, it compiles the code...
54
by: Rasjid | last post by:
Hello, I have just joined and this is my first post. I have never been able to resolve the issue of order of evaluation in C/C++ and the related issue of precedence of operators, use of...
2
geolemon
by: geolemon | last post by:
I'm having a frustrating issue with a report that WON'T order my data properly, seemingly whatever I do. Surely I must be overlooking something! I have an "order by" in my raw query: SELECT...
11
Dormilich
by: Dormilich | last post by:
Hello, I'm trying to validate my XML files against a DTD with PHP 5 and it spits out element order errors (see below). the files validate in FF (once I set the used entities in the local DTD part,...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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...
0
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,...
0
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...

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.