Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetRange – PB Docs 126 – PowerBuilder Library

SetRange – PB Docs 126

SetRange PowerScript function

Description

Sets a duration for a progress bar control or sets the start
and end position for a trackbar control.

Controls

Progress bar controls

Syntax

Argument

Description

controlname

The name of the progress bar or trackbar

startpos

Integer indicating the initial position
of the range

endpos

Integer indicating the terminal position
of the range

Return Values

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

Usage

The default range for the progress bar controls is 0 to 100.

Examples

This statement sets a range of 1 to 10 for 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