1. David Pylatuk
  2. PowerBuilder
  3. Friday, 12 January 2018 21:30 PM UTC

Hello,

I am trying to implement a circular spinning .GIF image on simple window that opens above an existing window that is doing some complex processing.

I do not want to use a horizontal or vertical progress bar as the time to complete the tasks is unknown. How can I do this? when I use an animated .gif file it is not animated during the work happening on the window underneath.

Same for an AVI file when I play it in a loop. Both are just frozen.. using PB12.5, any help would be appreciated. Thank you.

Roland Smith Accepted Answer Pending Moderation
  1. Saturday, 13 January 2018 03:13 AM UTC
  2. PowerBuilder
  3. # 1

Put the picture control on a window of type popup. Open the window before starting the process and close it when finished.

Comment
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Tuesday, 16 January 2018 17:06 PM UTC
  2. PowerBuilder
  3. # 2

You might need a yield statement in your processing loop

Comment
There are no comments made yet.
Shenn Sellers Accepted Answer Pending Moderation
  1. Wednesday, 17 January 2018 18:28 PM UTC
  2. PowerBuilder
  3. # 3

I create a separate thread in order to display my processing gif.  This way, nothing is slowed down.  You can download an example from this link...

https://drive.google.com/open?id=0B6J5FirdQZqucFhoZXdmeC14WHM

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.