?
Solved

20 Sep 10 15 - VS 2005 VB.Net - How to arrange Tab Control feature on .Net Controls

Posted on 2010-08-31
9
Medium Priority
?
545 Views
Last Modified: 2012-05-10

VS 2005 / VB.Net - Windows Application

On all my .Net Controls on Form1.VB, i have set the property

TabIndex which starts from 1,2,3....

But still i am losing on some controls or swapping from one control to another.

How to fix this issue

0
Comment
Question by:chokka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 8

Expert Comment

by:Gururaj Badam
ID: 33568373
Try setting the values again, without missing any control whether label or groupbox or so.

On a safer side you can start numbering the first control at 100 or so (the number which has never been used)
0
 

Author Comment

by:chokka
ID: 33568629
So you say that to start from 100, 101,102.. will work out..!

Also for ALL the labels, i kept 0
0
 
LVL 8

Expert Comment

by:Gururaj Badam
ID: 33568710
as far the numbering is in order it should work. Multiple controls with same index may break the loop. Try not to repeat. I'm suggest start value as 100 so that your old numbering gets cleared off. There's not harm if you wish to start from 1 again.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 3

Expert Comment

by:dockhand
ID: 33569459
My guess is that you have multiple controls with the same order.  VS2005 in its hurry to be helpful can really mislead you in this aspect.  If you change the order of a control in the IDE it does not react the same way that the IDE did in VB6.  You can end up with duplicates.  If however as Novice_Novice stated you start with a new sequence then the IDE will pick up from that point forward.

You might just double check that you didn't accidentally change the TabStop value to FALSE as well.
0
 
LVL 4

Expert Comment

by:parthmalhan
ID: 33573933
Try the following :

start from the very 1st textbox or combobox whatever is in your form.
change its tabindex to 0
now select the second control to which you want to get your cursor after pressing tab on 1st control. Set its tabindex to 1
and so on till your last record.

NOTE :

Skip all the controls in which user cant write (like label,disabled textbox etc)

It will surely work
0
 
LVL 8

Expert Comment

by:Gururaj Badam
ID: 33673040
Everybody is suggesting the same solution. It yet strange that you're not able to fix your problem.

I suggest you to recreate the control and start ordering the tab stops in the order you require.

Or accept the best suggestion to close the question.
0
 

Accepted Solution

by:
chokka earned 0 total points
ID: 33677151
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question