Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

ScrollbarSetPosition Function

Overview

The ScrollbarSetPosition function sets the position of the thumb track in the specified scrollbar control.

Syntax/Parameters

Syntax

int = ScrollbarSetPosition ( int id, int position );

Parameters

id

An int containing the control ID of the scrollbar control.

position

An int from 0 to the scrollbar 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

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