installation - 我可以在 Inno Setup 的同一个 "CreateInputOptionPage"页面上设置复选框和单选按钮吗?

标签 installation inno-setup pascalscript

是否可以使用CreateInputOptionPage在同一页面上同时显示单选按钮和复选框?

最佳答案

使用 TInputOptionWizardPage.AddEx 方法的 AExclusive 参数在单选按钮或复选框之间进行选择:

procedure InitializeWizard();
var
  Page: TInputOptionWizardPage;
begin
  Page := CreateInputOptionPage(wpWelcome, '', '', '', False, False);

  Page.AddEx('Radio button 1', 0, True);
  Page.AddEx('Radio button 2', 0, True);
  Page.AddEx('Check box 1', 0, False);
  Page.AddEx('Check box 2', 0, False);
end;

enter image description here

关于installation - 我可以在 Inno Setup 的同一个 "CreateInputOptionPage"页面上设置复选框和单选按钮吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62448217/

相关文章:

Python 3 - 使用 pip(非 root)安装 lxml 后得到 "No module named ' lxml'"

inno-setup - 如何在 inno-setup 中暂停(终止)提取过程?

inno-setup - 如何在 Inno Setup 的 AppVersion 值中只包含三部分文件版本(没有第四个修订号)

inno-setup - 在Inno Setup中的文本框中需要一个数字

dll - 如何将DLL函数添加到Inno Setup iss文件中?

python - 使用特定 TargetDir 以/安静模式安装 Python 可执行文件

magento - 如何安装 Magento 比特币货币扩展?

Inno Setup 中的视频文件,相对路径作为初始屏幕

vbscript - 从 Installer.ProductInfo 属性中还可以了解到什么?

macros - 将 Inno Setup 预处理器 #define 与其他 #define 结合起来