Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

ProgressControlUpdate Function

Overview

The ProgressControlUpdate function sets the position progress control and optionally updates the range end point.

Syntax/Parameters

Syntax

int = ProgressControlUpdate ( int id, int position, [int last] );

Parameters

id

An int containing the control ID of the progress control.

position

An int from 0 to the progress range.

last

An optional int specifying the end range. If this parameter is used, the start range will be set to zero.

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

The control’s display area is updated immediately for display.

Related Functions

Platform Support

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

Legato IDE, Legato Basic