During the download operation using the DwinsHs_CurPageChanged procedure (in the pre-defined downloading wizard page), the procedure avoids the confirm message box to be poped up twice when the " " button is clicked on, or the Setup wizard Window's close button is clicked on.
Please call the procedure in the end of the CancelButtonClick event function if you want to use the pre-defined downloading wizard page. If the event function isn't defined, please create it.
procedure DwinsHs_CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
Specifies the ID of current wizard page.
Reserved, its value will not be changed.
Returns false if the CurPageID parameter is set to the pre-defined downloading wizard page, in order to avoid the duplicated confirm message box. Its value will not be changed if the CurPageID parameter isn't set to the pre-defined downloading wizard page.
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
Cancel := True;
Confirm := True;
...
DwinsHs_CancelButtonClick(CurPageID, Cancel, Confirm);
end;
The procedure is avaliable only when the DwinsHs_Use_Predefined_Downloading_WizardPage marco is defined.
Copyright © 2001-2022, Han-soft Corporation. All rights reserved.