Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs > 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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com