Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

TrackbarGetTickPosition Function

Overview

The TrackbarGetTickPosition function retrieves the client position of a tick mark at a specified index position as it appears within the trackbar window.

Syntax/Parameters

Syntax

int = TrackbarGetTickPosition ( int id, int index );

Parameters

id

An int containing the control ID of a trackbar control.

index

An int specifying a zero-based index to the internal position array.

Return Value

An int as the logical position, -1 if the index specifies an invalid position 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

TrackbarGetTickPosition allows the inspection of the tick mark display position array within the trackbar control. The first and last ticks are not included and logical positions can be out of order. If the index is out of range, a -1 is returned.

Related Functions

Platform Support

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

Legato IDE, Legato Basic