Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

ScrollbarSetRange Function

Overview

The ScrollbarSetRange function sets the range of a scrollbar.

Syntax/Parameters

Syntax

int = ScrollbarGetPosition ( int id, int range );

Parameters

id

An int containing the control ID of the scrollbar control.

range

A positive int value specifying the number of scroll points.

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

A scroll range must be set to use the scrollbar. Scrollbar bar values are scalar with the unit measure to be determined by the script. The range can also be reset at any time.

Related Functions

Platform Support

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

Legato IDE, Legato Basic