Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

DialogPostOK Function

Overview

The DialogPostOK function posts an ‘ok’ request on the dialog message queue as if the OK button was pressed. Since this emulates a normal exit, the validation procedure is run and the exit process can be stopped if a validation error is returned. The dialog will unwind itself and program control will return from the parent DialogBox function.

Syntax/Parameters

Syntax

int = DialogPostOK ( );

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