Object_To_String  Open

Chapter 10: PowerScript Functions

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





Copyright © 2004. Sybase Inc. All rights reserved. Open

View this book as PDF