Recent

Author Topic: [SOLVED] Download file progressBar synapse  (Read 2026 times)

odvesims

  • Full Member
  • ***
  • Posts: 176
[SOLVED] Download file progressBar synapse
« on: May 08, 2019, 11:32:38 pm »
Hey There! I'm using Synapse to download files from the internet, however I need to be able to update a progressBar so that my UI doens't just stay on a blocked state when the file is downloading and so the user knows how much is left before the file downloads. I'm using:
Code: Pascal  [Select][+][-]
  1. HTTPMethod('Get', 'myURL')
.

It downloads correctly, but I can't seem to figure out how to update the progressBar while the file is downloading. Any ideas?

« Last Edit: May 09, 2019, 09:21:35 pm by odvesims »

flowCRANE

  • Hero Member
  • *****
  • Posts: 937
Re: Download file progressBar synapse
« Reply #1 on: May 09, 2019, 01:20:07 am »
Lazarus 4.2 with FPC 3.2.2, Windows 11 — all 64-bit

Working solo on a top-down retro-style action/adventure game (pixel art), programming the engine from scratch, using Free Pascal and SDL3.

odvesims

  • Full Member
  • ***
  • Posts: 176
Re: Download file progressBar synapse
« Reply #2 on: May 09, 2019, 02:16:08 pm »
Download with progress using Lazarus and SynapseGoogle is your friend.

Hehe, fair enough, should've googled it first. I got it working using this exact same link. Thanks @furious_programming

 

TinyPortal © 2005-2018