Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

DialogGetPageWidth Function

Overview

The DialogGetPageWidth function returns the width of a dialog page window (the window that contains the dialog controls).

Syntax/Parameters

Syntax

int = DialogGetPageWidth ( );

Parameters

(none)

 

Return Value

Returns an int expressing the page’s width in pixels or -1 on failure. Use the GetLastError function to retrieve error information.

Remarks

This function only operates within a dialog procedure. If used outside of a procedure, it will return an error.

Note that the height of the page changes depending on whether the underlying dialog style is basic or that of a property sheet. In this latter case, the width includes the boundary area for the page (not the outside, non-client area).

Related Functions

Platform Support

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

Legato IDE, Legato Basic