DwinsHs_CancelDownload variable

The global variable can be used to terminate the download process, including the download operation using the DwinsHs_ReadRemoteURL function and the DwinsHs_CurPageChanged procedure.

Declaration:

type
  TCancelDownload = (cdNone, cdBack, cdExit);
var
  DwinsHs_CancelDownload: TCancelDownload;

Change value of the variable to terminate the download process: