Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

TrackbarGetRange Function

Overview

The TrackbarGetRange function retrieves the low and high logical range points for the slider.

Syntax/Parameters

Syntax

int[] = TrackbarGetRange ( int id );

Parameters

id

An int containing the control ID of a trackbar control.

Return Value

A two element int array containing the range or an empty array on failure. Use the GetLastError and GetLastErrorMessage to retrieve additional information. 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 array will contain two elements, 0th as the low or “min” key name and 1st as the high or “max” key name. Logical positions are zero based.

Related Functions

Platform Support

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

Legato IDE, Legato Basic