I want to have two buttons in my installer screen, both should end up taking the user to the next screen but each performs it's own side-logic. Is it possible to have two NextButtons that both take you to the next screen but execute different code? Failing that, is there a way how to call WizardForm.NextButton programatically?

有帮助吗?

解决方案

Yes.

WizardForm.NextButton.OnClick(WizardForm.NextButton);

其他提示

Keith, from a usability perspective, have you considered one next button and two radio buttons instead? The user selects the desired side logic via the radio buttons and then proceeds by clicking the next button. The radio button for the default side logic can already be pre-selected so most of the time the user just clicks next. This is at least how I would expect an Installer to behave if I was installing software.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top