I have a routine that updates the database, and when the update reaches 100%, I pass the TAdvProgress to pbsMarquee and execute the next process.
In some situations, even though I set AdvProgress1.Position=100;, due to the progress effect of this component, the Marquee effect starts when the bar is at 70%.
How can I wait for the progress bar to reach 100% (on the screen) before starting the next routine in my application?