ProgressStep Method 250
Applies To: ProgressBar

Description

This method is used to increment the thumb in a ProgressBar object.

The ProgressStep method is niladic.

The ProgressStep method causes the ProgressBar to attempt to increment its thumb by the value of its Step property, taking into account the settings of its Limits and Wrap properties.

If the values of the Thumb, Step and Limits properties are THUMB, STEP and LIMITS respectively, the new value of Thumb (and the corresponding position of the highlighted bar) is:

if Wrap is 0:

      LIMITS[2]⌊THUMB+STEP

if Wrap is 1:

      LIMITS[1]+(1+LIMITS[2]-LIMITS[1])|THUMB+STEP-LIMITS[1]