Skip to content

DoAdvanceBy - cProgressBar

Advances the progress bar by an explicit amount

Type: Procedure

Parameters

Parameter Type Description
iAdvanceBy Integer The amount to advance the progress bar (and thus piPosition) by.

Syntax

Procedure DoAdvanceBy Integer iAdvanceBy

Call Example

Send DoAdvanceBy iAdvanceBy

Description

Use the DoAdvanceBy procedure to advance the progress bar by an explicit amount. The piPosition property will be incremented by the iAdvanceBy parameter and the bar will be redrawn to reflect the change to piPosition.

Compare the DoAdvance method that increments piPosition by the amount stored in the piAdvanceBy property.