Posted 16 years ago
by Matt Swanton
![Avatar](https://secure.gravatar.com/avatar/c3d37953b575645e368680a11e589126.jpg?s=64&d=identicon&r=g)
Hi,
Inside the SelectedPageChanging event I'd like to finish the script early if a particular condition is met.
I'd like to finish, rather than cancel the wizard.
I've tried calling WizardCommands.Finish.CanExecute in each of the following ways, but none of them will execute;
?WizardCommands.Finish.CanExecute(null, null)
false
?WizardCommands.Finish.CanExecute(null, e.OldSelectedPage)
false
?WizardCommands.Finish.CanExecute(null, e.NewSelectedPage)
false
Any ideas?
Thanks
Matt
Inside the SelectedPageChanging event I'd like to finish the script early if a particular condition is met.
I'd like to finish, rather than cancel the wizard.
I've tried calling WizardCommands.Finish.CanExecute in each of the following ways, but none of them will execute;
?WizardCommands.Finish.CanExecute(null, null)
false
?WizardCommands.Finish.CanExecute(null, e.OldSelectedPage)
false
?WizardCommands.Finish.CanExecute(null, e.NewSelectedPage)
false
Any ideas?
Thanks
Matt