6

如何更改自定义页面上的下一步/取消按钮标题?

4

1 回答 1

7

您可以使用:

procedure CurPageChanged(CurPageID: Integer);
begin
  if CurPageID = YourPageName.ID then begin
    WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall);  
//or := 'YourNewNextButtonText' or := ExpandConstant('{cm:YourCmTitleForNext}')
    WizardForm.CancelButton.Caption := ExpandConstant('{cm:YourCmTitleForCancel}');
  end; //begin + end to make changes only for this single page
end;
于 2013-01-15T13:07:29.943 回答