StepIt – PB Docs 126

StepIt PowerScript function

Description

Increments the current position in a progress bar control
by the value specified in the SetStep property of the control.

Controls

Progress bar controls

Syntax

Argument

Description

control

The name of the progress bar

Return Values

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

Usage

StepIt causes the position in a progress
bar to wrap if the value of the SetStep takes the current position
out of range. For example, if the SetStep value is 40, the current
position 80, and the range is set from 0 to 100, the position on
the redrawn progress bar after you call StepIt is
20.

The SetStep property can have a negative value. The default
value for SetStep is 10.

Examples

This statement adds the SetStep increment to a progress
bar control:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x