Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

ProgressControlSetRange Function

Overview

The ProgressControlSetRange function sets progress control range start and end point.

Syntax/Parameters

Syntax

int = ProgressControlUpdate ( int id, int low, int high );

Parameters

id

An int containing the control ID of the progress control.

low

An int specifying the low range.

high

An int specifying the high range.

Return Value

An int as ERROR_NONE or a formatted error code on failure. Common errors include: ERROR_RANGE if id is an invalid control ID for the open dialog or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

When initialized, the progress control has a range from 0 to 100. This function allows an arbitrary range to be set which is useful if conditions require a biased progress.

The high or last position can also be set with the ProgressControlUpdate function.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic