How to change tab index of the button container

Wizard for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0480
Avatar
Hi,

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.

Thanks,
Anurodh

Comments (1)

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

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.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.