Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > ProgressBar Control >

ProgressBar_SetStep

Previous pageReturn to chapter overviewNext page

 

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