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

ProgressBar_StepIt

Previous pageReturn to chapter overviewNext page

 

Description

 

Advances the current position for a progress bar control by the step increment and redraws the bar to reflect the new position.

To set the step increment use ProgressBar_SetStep function.

 

Syntax

 

n = ProgressBar_StepIt(hWnd, ctrlID)

 

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 ...

 

Remarks

 

When the position exceeds the maximum range value, this message resets the current position so that the progress indicator starts again from the beginning.

 

Restrictions

 

See also

 

ProgressBar_SetStep

 

Examples

 

 

 

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