Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Christopher, thank you so much for the reference, however I'm afraid that I'm not able to use the 6.1 version 😞 I implemented my progress bar using a simple for loop and thePackages.java.lang.Thread.sleep() method, all I'm doing is implement this loop inside a function and predefine an initial state and a limit, I print a character inside a label which looks as one element of the progress bar.
Regards!
Paulette Zorrilla
In windowload event I get the current document in order to get the label element and print the character inside it! 🙂 But whe I call my function which starts printing the progress bar, since the windowload event I'm not able to see it.
Paulette Zorrilla
It's difficult to say what's happening without seeing the code, but my guess would be that your Javascript is waiting to update the progress bar when something has happened in Arbortext, but Arbortext is waiting for the Javascript funtion to complete before it does anything. If that's what's happening, everything would appear to stop.
One Javascript solution to this is to use setTimeout. This lets your Javascript finish, but invokes it again later. I don't know if this would work in Arbrotext.