Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

TrackbarSetSliderPosition Function

Overview

The TrackbarSetSliderPosition function sets the position of the slider.

Syntax/Parameters

Syntax

int = TrackbarSetSliderPosition ( int id, int position );

Parameters

id

An int containing the control ID of a trackbar control.

position

An int specifying the zero-based logic position to set the slider.

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 position should be between the minimum and maximum logical positions as set by the TrackbarSetRange function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic