NewFocus issue in wizard

Wizard for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0483

We have a ribbon window with two wizard pages and on second page when we click Cancel or Close(X) icon the NewFocus is set to previous page element but ideally when window is closing the NewFocus should be given to parent window and there is no point setting focus to previous page when the wizard window itself is closing.

Another issue related to this is that we have a user control on whose lost focus we are doing some validation but when we hit Cancel button of wizard the OnPreviewLostKeyboardFocus event if firing twice first time the NewFocus is "PART_CancelButton" and second time the NewFocus comes out to be previous page control.

Is this a desired behavior?

Thanks in advance,

Comments (1)

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

For your first question, we'd need to see a sample project for that.

For the second question, this sounds the same as another post you just made. Again we'd need samples for these things.

In the future if you have complex scenarios and questions about them, it's easiest and fastest for you to simply create a simple sample project that reproduces the issue exactly and then email them to our support address. This way we can debug code and find out if the issues are caused by a problem with our code or a problem in how you implemented things.

Actipro Software Support

The latest build of this product (v24.1.2) 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.