Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

ScrollbarSetPageSize Function

Overview

The ScrollbarSetPageSize function sets the size of page as a scalar value.

Syntax/Parameters

Syntax

int = ScrollbarSetPageSize ( int id, int size );

Parameters

id

An int containing the control ID of the scrollbar control.

size

A positive int value.

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

The page size adjusts the height or width of the thumb track in relation to the overall range. Generally, the page size is the same value used to adjust the position in response to one of the SB_PAGE messages.

Related Functions

Platform Support

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

Legato IDE, Legato Basic