Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Order

Status
Not open for further replies.

zubr

Technical User
May 2, 2005
1
US
Could you please help me with the Tab Order?
I found the following description in MSDN, but couldn't find LAYOUT menu in VB6, and thought it exists in other Visual Studio products, but VB.
Setting Tab Order throught Properties for each control seems annoying. Thanks.
-----------------
To change the tab order for all controls in a dialog box

1.From the Layout menu, choose Tab Order.
A number in the upper-left corner of each control shows its place in the current tab order.

2.Set the tab order by clicking each control in the order you want the TAB key to follow.

3.Press ENTER to exit Tab Order mode.

 
check this out.... click a control... look im the probperties... i think the property is call TAB... or somehtign of that sort... there you go.. go around to the controls 1 to what ever and that will controll your tab order :) in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 

Here is a fast and easy way to set the tab order (tabindex) of your controls.

1. Select the last control you want to recieve the focus.
2. GoTo Properties window and highlight tabindex.
3. Type zero (0)
4. Then click on the control you want to recieve the focus before the control you were just on.
5. Type zero (0)
6. Keep going in reverse order (click control type zero)

What you will find out when you are at the first control that you want to recieve the focus is its tabindex will be 0 and the next control you want to recieve focus will be +1 of that and so on and so on.

Each time you set a controls tabindex to 0 if there is a control that has a tabindex of 0 it will be incremented by 1 and if there is a control that has that tabindex it will then also be incremented by 1 (and so on and so on).

Hope this helps
 
I still would like to know where this "Layout Menu" is, PLEASE!

I have many controls on the forms.

PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
I think it must be available in VB .net also. Not in VB6.

Thanks


PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top