我知道可以使用以下代码在向导页面上禁用“后退”按钮(使其显示为灰色):
procedure CurPageChanged(CurPageID: Integer);
begin
//Define whether the Back button is enabled
if CurPageID = UnlockCodePage.ID then
begin
WizardForm.BackButton.Enabled := False;
end;
end;
但是,是否有一种方法可以完全删除/隐藏“后退”按钮,使其根本看不到?
您应该可以使用该Button.Visible
属性:
if CurPageID = UnlockCodePage.ID then
WizardForm.BackButton.Visible := False;
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句