Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

DialogPostCancel Function

Overview

The DialogPostCancel function posts a ‘cancel’ request on the dialog message queue as if the Cancel button was pressed. The dialog will unwind itself and program control will return from the parent DialogBox function.

Syntax/Parameters

Syntax

int = DialogPostCancel ( );

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

This function only operates within a dialog procedure. If used 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