i2u4ever Posted September 9, 2016 Posted September 9, 2016 My Application should have a procedure which downloads mult files about 100, each file size is about 20mb. I want to show progress while dowonloading. For example, UniProgreesBar1.Max := 100; for N := 1 to 100 do begin Unisession.SendFile("FileName" + IntToStr(N)); UniProgreesBar1.Position := N; Application.ProcessMessages; end; However, this coding does not work. UniProgressBar does not show the progress. What should I do to show the progress? Best Regards. Quote
Administrators Farshad Mohajeri Posted September 9, 2016 Administrators Posted September 9, 2016 Please see below demos: SyncClientUpdate - 1 SyncClientUpdate - 2 SyncClientUpdate - 3 Quote
i2u4ever Posted September 11, 2016 Author Posted September 11, 2016 Thanks, Farshad Mohajeri At first time, my App failed when demo code was applied. And now I succeeded after inserting sleep() in for loop. Maybe each file size is too large(20MB)? Thanks again, uniGUI is GOOOOD! PS : Where are SyncClientUpdate - 2 and SyncClientUpdate - 3 I use Regular version 0.99.96.1317 Quote
Sherzod Posted September 11, 2016 Posted September 11, 2016 PS : Where are SyncClientUpdate - 2 and SyncClientUpdate - 3 I use Regular version 0.99.96.1317 Hi, These demos are available since Build 1318 Best regards. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.