How to manage tab order of the components on the form 
Author Message
 How to manage tab order of the components on the form

Hi !
How to manage  tab order of the components on the form ?
Thanks


Sat, 28 May 2005 16:42:23 GMT  
 How to manage tab order of the components on the form
Vitalie,

Quote:
> How to manage  tab order of the components on the form ?

From the help system:

The tab order is the order in which a user moves focus from one control to
another by pressing the TAB key. Each form has its own tab order. By
default, the tab order is the same as the order in which you created the
controls. Tab-order numbering begins with zero.

To set the tab order of a control

  1.. On the View menu, choose Tab Order.
  This activates the tab-order selection mode on the form. A number
(representing the TabIndex property) appears in the upper-left corner of
each control.

  2.. Click the controls sequentially to establish the tab order you want.
    Note   A control's place within the tab order can be set to any value
greater than or equal to zero. When duplicates occur, the z-order of the two
controls is evaluated and the control on top is tabbed to first (The z-order
is the visual layering of controls on a form along the form's z-axis
[depth]. The z-order determines which controls are in front of other
controls.). For more information on z-order.
  3.. When you have finished, choose Tab Order from the View menu again to
leave tab order mode.
    Note   Controls that cannot get the focus, as well as disabled and
invisible controls, don't have a TabIndex property and are not included in
the tab order. As a user presses the TAB key, these controls are skipped.
Alternatively, tab order can be set in the Properties window using the
TabIndex property. The TabIndex property of a control determines where it is
positioned in the tab order. By default, the first control drawn has a
TabIndex value of 0, the second has a TabIndex of 1, and so on.

Regards,

Randy



Sun, 29 May 2005 00:38:08 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Tab control and tab order

2. Visual form inheritance from base form implemented in C++ with Managed Extensions (migrated from unmanaged C++)

3. Control Tab Order Broken

4. tab order

5. Tab Order in TabCtrl

6. Dialog Box Controls Tab Order Run-Time setting

7. Tab order in a standard MFC application differs

8. Changing tab order in a CPropertySheet

9. tab order problem

10. TAB ORDER out of control (build problem)

11. TAB ORDER out of control

12. Question about Tab order

 

 
Powered by phpBB® Forum Software