Code: Select all
; download button pressed
Function Download1()
link$="http://www.hollywood-mal.com/download/RapaGUI_Win32.zip"
DownloadFile(link$, {File = "RapaGUI_Win32.zip", p_CallbackFunc})
EndFunction
; update progress bar
Function p_CallbackFunc(mess)
level = mess.Count * 100 / mess.Total
scui.Set("Gauge1", { Value = level }, 1)
EndFunction
The file is downloaded, but the progress bar is not updated, because the callback function is not executed
I'm using Windows 10