Announcement

Collapse
No announcement yet.

Depending on the computer, cpu load can be >30%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Depending on the computer, cpu load can be >30%

    The CPU load can reach 30 to 50 percent depending of the computer whith ProgressBar.
    Why?
    Any idea to reduce them?

    Progress_Cpu_Load.apz

    Alain

  • #2
    Try
    On Preload
    Code:
    position = 0;
    On Show
    Code:
    DialogEx.StartTimer(150, 10);
    On Timer
    Code:
    Progress.SetCurrentPos("Progress1", position);
    Progress.SetText("Progress1", position.."%");
    position = position +1;
    if position == 100 then
    DialogEx.Close(0)
    end
    My PC Peaked at 1.1% but was usually lower

    Comment


    • #3
      Merci beaucoup Grimsley,

      The CPU load with your code is very reduced (less than 5% whith my old computer).
      I will try to understand, but in any case thank you very much!

      Alain.

      Comment

      Working...
      X