bdeSetEditorFilePath

Sets the filepath for a given editor.

Syntax

bdeSetEditorFilePath(editor, filepath)

Inputs

editor
The editor to set the filepath of.
Type: hwscpTextEditorDialog
filepath
The filepath to set for the editor.
Type: string

Examples

Set the filepath of an editor:

          widget = bdeGetTopLevelWidget();
          textEditorDialog = bdeCreateEditor(widget, true, 1, false, true);
          bdeSetEditorFilePath(textEditorDialog, 'C:\Users\user\Desktop\textEditor.oml');