ProgressBar_SetStep

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ProgressBar Control > ProgressBar Control Commands >

ProgressBar_SetStep

 

Description

 

Specifies the step increment for a progress bar control.

The step increment is the amount by which the progress bar increases its current position whenever it ProgressBar_StepIt function is executed.

By default, the step increment is set to 10.

 

Syntax

 

n = ProgressBar_SetStep(hWnd, ctrlID, lStep)

 

Returns

 

Number.

Returns the previous position.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

lStep

Number

No

New step increment. By default, the step increment is set to 10.

 

Remarks

 

Restrictions

 

See also

 

ProgressBar_StepIt

 

Examples