OffsetPos

Description

Sets the offset for progress bar controls.

Applies to

Progress bar controls

Syntax

control.OffsetPos (increment )

Argument

Description

control

The name of the progress bar control

increment

An integer that is added to the start position of the progress bar control


Return value

Integer.

Returns 1 if it succeeds and -1 if there is an error.

Examples

This statement offsets the start position of a horizontal progress bar by 10:

HProgressBar.OffsetPos ( 10 )

See also

SelectionRange

SetRange

StepIt