Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

TrackbarGetTickMarks Function

Overview

The TrackbarGetTickMarks function retrieves an array of the logical position of a tick mark logical positions.

Syntax/Parameters

Syntax

int[] = TrackbarGetTickMarks ( int id );

Parameters

id

An int containing the control ID of a trackbar control.

Return Value

An int array of logical positions or empty on failure. Use GetLastError or GetLastErrorMessage to retrieve and formatted error code for descriptive message. 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 first a last ticks are not included and logical positions can be out of order.

Note that TrackbarGetTickCount includes the automatic edge tick marks so it will always be 2 more than the return array depth.

Related Functions

Platform Support

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

Legato IDE, Legato Basic