How to change tab index of the button container

Wizard for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0480

Currently we are having default button container. So Help button is at left corner, and therefore when we tab into the button container the first button to get tab focus is Help button.

1) What should be done in order to get Next button to be the first tab button of the button container? How to specify tab ordering of button container?

2) Also, pressing enter (not tab) on last text input field should get us to the button container how to achieve this?

Please suggest on above requirements.


Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA

1) You'd have to provide a custom template to set that. If you are a licensed customer, we can send you our default templates so you can just copy those and alter them as needed.

2) You'd probably have to attach to the KeyDown event of that last input field and look for an Enter key press. Then call MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)) on the input field. Maybe even make a custom TextBox class that does this by default and use an instance of that for your last field.

Actipro Software Support

The latest build of this product (v24.1.2) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.