Skip to content

[Inno Setup] Form and Caption bugs. #38

Open
@ddv88

Description

@ddv88

Doesn't work BorderStyle parameter.
https://yadi.sk/i/YxvxiHcb3Ebstc

BorderIcons and Caption bugs.
https://yadi.sk/i/i6UhGW8H3EbsuK

Updating dynamic elements.
https://yadi.sk/i/p_bfXzqT3EcC9w

procedure CancelButtonOnClick(Sender: TObject);
begin
  SuspendProc;
  if MsgBox(ExpandConstant('{cm:ExitQuestion}'), mbConfirmation, MB_YESNO) = IDYES then ISDoneCancel:=1;
  ResumeProc;
end;

MyCancelButton:=TButton.Create(WizardForm);
  with MyCancelButton do begin
    Parent:=WizardForm;
    Width:=ScaleX(135);
    Caption:=ExpandConstant('{cm:CancelButton}');
    Left:=ScaleX(360);
    Top:=WizardForm.cancelbutton.top;
    OnClick:=@CancelButtonOnClick;
  end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions