Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

TrackbarSetTickFrequency Function

Overview

The TrackbarSetTickFrequency function sets the interval frequency for tick marks in a trackbar.

Syntax/Parameters

Syntax

int = TrackbarSetTickFrequency ( int id, int frequency );

Parameters

id

An int containing the control ID of a trackbar control.

frequency

An int specifying the spacing of the ticks.

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

Upon creation, the default frequency or spacing is 1. If the frequency is set to two, a tick mark is displayed for every other increment in the trackbar's range. Every increment in the range is associated with a tick mark.

The trackbar must have the TBS_AUTOTICKS style to use this function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic