How to make a message box on the Cancel button?
https://4sysops.com/wp-content/uploads/2015/09/Yes-No-prompt.png
How to make a message box on the Cancel button?
https://4sysops.com/wp-content/uploads/2015/09/Yes-No-prompt.png
Implement the CancelButtonClick
event function.
[Code]
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
MsgBox('Cancel button was clicked', mbInformation, MB_OK);
end;
Set the Cancel
and Confirm
out parameters to make Inno Setup proceed as you need.