bdeGetEditorResult

Returns a result for what button is pressed in editor. Will return error, 1 - ok, 2 - cancel.

Syntax

editorResult = bdeGetEditorResult(editor)

Inputs

editor
The editor to get the result of.
Type: hwscpTextEditor

Outputs

editorResult
A value representing what button was pressed in the editor dialog. Will return error, 1 - ok, 2 - cancel.
Type: EditorResult

Examples

Get the result of a given editor:

          editorResult = bdeGetEditorResult(editor);
        

          
            editorResult = 1