Hi Everyone,
I made a function to copy a directory recursive for my 'Filemanager' I am making to learn Lazarus/Free Pascal.
I have placed this function in a seperate unit to build a little 'function library' for myself. Now, When I am calling it from my main thread it, of course, hangs my gui until it finished copying. It there a way to call Application.ProcessMessages in my function or what would be the best solution? I want to be able to update a progress bar and status text while it is copying but I want the user to be able to locked from starting other work.
Thanks Magnus