The help for PROP:ProgressEvents demonstrates that you can look for the build events inside the ACCEPT loop. I would review that help then construct the code in a way that you’re prepared to receive the events sent.
@KevinErskine thank you for the provided code.
i don’t use third party tools/frameworks (StringTheory), i will pass parameters as usual and add a progress bar control to the window.
Glad I could help. But as for 3rd party tools. Without a doubt the 1 product StringTheory has revolutionized my coding and efficiency. I love all Capesoft and BoxSoft tools and use several other saving me hundreds of hours. They are all source based products so they will never stop being useful even if the company goes out of business. I just compile and all is good. But to each their own.
You can use INSTRING() to search in Reverse with a Step of -1, and a Start Pos of the End of the string i.e. Size(). For a PString or CString would more be correct to use Len() as there is oftem garbage after the defined length … so LEN() is always the safe choice.