Inno设置:Coloring Caption字段

时间:2014-11-03 16:00:47

标签: inno-setup

我尝试使用此代码How to make text Bold in TNewStaticText in inno setup将其添加到此代码中:

procedure BackupCheckCreate();
begin
  BackupCheck:=TCheckBox.Create(WizardForm);
    with BackupCheck do
      begin
        Parent:=WizardForm.SelectDirPage;
        SetBounds(ScaleX(WizardForm.DirEdit.Left), ScaleY(WizardForm.DirEdit.Top + 135), ScaleX(WizardForm.DirEdit.Width), ScaleY(15));
        Caption := ExpandConstant('{cm:BackupCheck}');
        Checked:=false;
      end;
end;

所以它用红色标题字段着色,但没有运气,任何想法或建议?

非常感谢先进。

0 个答案:

没有答案