This there anything wrong with this function, it does not seem to move the progress bar at all.
DialogEx

Settings

I am unable to get it to move but it hold up/locks up like its deff doing something and it does download the file
PHP Code:
function ImageDownload(_ThisTable)
Progress.SetVisible("DownloadCallBack", true);
local function Callback (nDownloaded, nTotal, TransferRate, SecondLeft, SecondsLeftFormat, Message)
sTotal = String.GetFormattedSize(nTotal, FMTSIZE_AUTOMATIC, true);
Progress.SetCurrentPos("DownloadCallBack", (nDownloaded / nTotal) * 100);
return true;
end
if File.DoesExist(FolderPath.."\\".._ThisTable.SaveAs)then
Hope = nil;
MoveSave = false;
Dialog.Message("Downloaded", "You already own this download.")
else
HTTP.Download(_ThisTable.URL, FolderPath.."\\".._ThisTable.SaveAs, MODE_BINARY, 15, 80, nil, nil, Callback);
Progress.SetVisible("DownloadCallBack", false);
if File.DoesExist(FolderPath.."\\".._ThisTable.SaveAs)then
Dialog.Message("Download", _ThisTable.SaveAs.." has downloaded.", MB_OK, MB_ICONNONE);
end
DialogEx.Close(0);
end
end
Settings
I am unable to get it to move but it hold up/locks up like its deff doing something and it does download the file