Posted 17 years ago
by Matt Swanton

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