Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

TrackbarGetPageSize Function

Overview

The TrackbarGetPageSize function returns the ‘page’ size for trackbar slider movement when the page up and page down keys are used for positioning.

Syntax/Parameters

Syntax

int = TrackbarGetPageSize ( int id );

Parameters

id

An int containing the control ID of a trackbar control.

Return Value

An int as the logical page 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 page keys. The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.

If the page size is not set, the default page size is 1/5th of the range value.

Related Functions

Platform Support

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

Legato IDE, Legato Basic