Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FinishButtonText being set for pages with IsFinishPage == false #94

Open
adhomi7 opened this issue Mar 20, 2023 · 0 comments
Open

FinishButtonText being set for pages with IsFinishPage == false #94

adhomi7 opened this issue Mar 20, 2023 · 0 comments

Comments

@adhomi7
Copy link

adhomi7 commented Mar 20, 2023

WizardControl.FinishButtonText gets used for the next button of the last wizard page in the Pages collection of the wizard control, even if this page is not marked as being the finish page.

This can happen easily, when using the designer to add some inner pages after the finish page already exists (and dynamically setting WizardPage.NextPage for example in the Commit event handler of each page to establish a dynamic page order depending on settings chosen by the user at runtime).

A simple workaround is to ensure that the finish page is actually the last page in the collection by modifying the designer-generated code accordingly -- but it can be quite annoying, if you don't know this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant