dahall / AeroWizard

Library for easy creation of custom and Aero Wizards. Aero Wizard strictly follows Microsoft guidelines and uses Visual Styles to get visual theming.
MIT License
112 stars 32 forks source link

Keyboard shortcuts for Cancel and OK #65

Closed dahall closed 5 years ago

dahall commented 5 years ago

Thanks for a great control, exactly what I needed.

But shouldn't the wizard close by default when the user presses the 'Esc' key, and shouldn't the wizard move to the next page when the user presses 'Return'? Or am I missing something here?

Thanks

Originally posted: 2015-06-10T04:05:59

dahall commented 5 years ago

I agree. Let me look at what it will take to add that.

Originally posted: 2015-06-17T10:45:16

dahall commented 5 years ago

It was very easy. It will be in the 2.0.10 release coming shortly.

Originally posted: 2015-06-17T11:30:21

dahall commented 5 years ago

Is there a way to suppress the 'Return' button keypress from moving to the next page, for a specific page?

Edit: I got this functionality by having my first page set "this.AcceptButton = null;", which allows the following pages' keypress handling to use the 'Return' key.

Originally posted: 2017-03-15T13:09:08