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

Returns

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

Examples

Example 1

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

HProgressBar.OffsetPos ( 10 )

See also