TabIndex property not working for me
- From: "michael sorens" <m_j_sorens@xxxxxxxxxxxxxxxx>
- Date: Mon, 10 Apr 2006 11:48:34 -0700
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 has TabStop set to true. When I run the application and repeatedly press the tab key, the on-screen focus order is very different than what I thought I specified. If it matters, here is the general layout of my form. As you'll observer, most of the controls are within separate Panels, except for the main ok and cancel buttons which are outside the TabControl. What am I doing wrong?
Form
TabControl
TabPage
TableLayoutPanel
Panel
Label
TextBox
Panel
Label
TextBox
Panel
CheckBox
TextBox
Panel
Label
TextBox
Panel
Label
TextBox
okButton
cancelButton
.
- Follow-Ups:
- RE: TabIndex property not working for me
- From: Linda Liu [MSFT]
- RE: TabIndex property not working for me
- Prev by Date: Re: Some basic session state questions
- Next by Date: Re: console.writeline overload question
- Previous by thread: Opening a winform from property grid
- Next by thread: RE: TabIndex property not working for me
- Index(es):