Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 8th, 2010, 01:27 PM
Registered User
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing Tab Order In a Form Using VC# Express ?

Hi,
I am using VC# Express 2010.

How do I change the tab order on a form in VC# Express 2010?

Example:
1) First Name Text Box
2) Last Name Text Box
3) Street Text Box
4) City Text Box

The above proper tab order should be 1,2,3,4 for the user.

If the tab order is 1,4,3,2, how do I correct or change the tab order
to 1,2,3,4?

I am using Rod Stephens Book “C# Programming with Visual Studio 2010
24- Hour Trainer Video Lessons on DVD”.

On his instructional DVD he is using Microsoft Visual Studio.
His instructions on changing the tab order is not available in
VC# Express 2010 as shown on the DVD or at least I am not able
to find it.

How do I change the tab order on a form using VC# Express 2010?

Thank You

wsmith8

PS
I find Rod’s book extremely helpful.
  #2 (permalink)  
Old November 8th, 2010, 01:41 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Hi wsmith8,

The catch is that the menu item is only there if you click on the form itself. If you have a control selected, then the menu item is missing.

So click on a form, open the View menu, and select the Tab Order command. Then click on the controls in the order that you want them to have. When you're done, press [Esc] to get out of tab order viewing mode.

You can also set controls' TabIndex properties in the Properties window, but that's much more tedious.
PS
I find Rod’s book extremely helpful.
Thanks! Post a review!

Let me know if you have other comments or suggestions.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
  #3 (permalink)  
Old November 8th, 2010, 04:15 PM
Registered User
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rod,

When I click on a form and then the View menu I get the following choices from the View Menu.

Code
Designer
Start Page
Other Windows…
Toolbars…
Full Screen
----------------------
From Other Windows (above)
I get.

Database Explorer
Error List
Properties Window
Solution Explorer
Toolbox
Web Brower
Find Results

From Toolbars (above)
I get.

Build
Data Design
Database Diagram
Debug
Layout
My Tools
Query Designer
Standard
Table Designer
Text Editor
View Designer
Web Browser
Customize…

“Tab Order” does not appear anywhere.

wsmith8
  #4 (permalink)  
Old November 8th, 2010, 10:26 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Sorry about that. I don't know if it's that way for all Express users or if it just happens sometimes but I guess Visual Studio doesn't always display that command when it should.

To fix it, you can customize your menus.

1. Open the Tools menu and select Customize.

2. Select the Commands tab.

3. Select the Menu Bar option and from the dropdown on the right select View.

4. Click the Add Command button. On the Add Command dialog:

4a. In the Categories list on the left, select View.

4b. Then in the Commands list on the right, select Tab Order

4c. Click OK. to add the command to the menu.

5. Close the Customize dialog.

It's so intuitively obvious, Microsoft must have thought that Express users could just add it themselves ;-)

Let me know if you have trouble with it.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
  #5 (permalink)  
Old November 9th, 2010, 10:40 AM
Registered User
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Rod,

Thank you for your patients with this 78 years old man. As I get more
comfortable with VC# 2010, problems may become more intuitive.

I have it working fine now thanks to you.

wsmith8

PS
I wrote a review for the book on Amazon.
  #6 (permalink)  
Old November 9th, 2010, 10:51 AM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Thank you for your patients with this 78 years old man. As I get more comfortable with VC# 2010, problems may become more intuitive.
This is Microsoft's fault, not yours. (And mine for not noticing the issue and covering the work around in the book or screencasts.) Now that I surf around the web a bit, I see that others have had this problem, too. It's silly that Microsoft wouldn't always have this command on the menu. What are they thinking, that Express users always put controls down in exactly the right order?

Anyway, I'm glad you got it working!
I wrote a review for the book on Amazon.
Thanks! I greatly appreciate it!
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Practices for setting Tab Order dotnetDeveloper ASP.NET 3.5 Basics 2 January 2nd, 2009 06:41 PM
Tab Order Screwy tonyrosen Excel VBA 1 March 1st, 2006 07:11 PM
how to many textbox jump by tab in order? richie86 ASP.NET 1.0 and 1.1 Basics 3 December 11th, 2005 04:29 PM
Best tab order implementation policy? nerssi Javascript 1 June 26th, 2005 05:05 AM
Using the TAB ORDER with ENTER KEY ? thomaz C# 0 September 10th, 2003 08:10 AM



All times are GMT -4. The time now is 09:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.