Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DialogPositionCenter Function

Overview

The DialogPositionCenter function centers the dialog on the active screen.

Syntax/Parameters

Syntax

int = DialogPositionCenter ( );

Parameters

(none)

 

Return Value

Returns an int value as ERROR_NONE or a formatted error code. Use the GetLastError function to retrieve error information.

Remarks

By default, dialogs are centered on the screen within which the application is contained. This function only operates within a dialog procedure; if it is called outside of a procedure, it will return an error.

Related Functions

Platform Support

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

Legato IDE, Legato Basic