Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

TrackbarGetLineSize Function

Overview

The TrackbarGetLineSize function returns the ‘line’ size for trackbar slider movement when the keyboard arrows are used for positioning.

Syntax/Parameters

Syntax

int = TrackbarGetLineSize ( int id );

Parameters

id

An int containing the control ID of a trackbar control.

Return Value

An int as the logical line step count 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

This function retrieves the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys. The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.

The default line size is 1. It can be set using the TrackbarSetLineSize function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic