Window-based DialogsClass ts_dialogcontrolProgressBar SetMin Set the minimum value. Call: ts_dialogcontrol(iProgressBar, "SetMin", int minvalue); Here: minvalue - the minimum value from which to calculate the percentage of completion.