문제

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