bdeSetEditorText

Sets the editorText for a given editor.

Syntax

bdeSetEditorText(editor, editorText)

Inputs

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

Examples

Set the text of an editor:

          widget = bdeGetTopLevelWidget();
          textEditorDialog = bdeCreateEditor(widget, true, 1, false, true);
          bdeSetEditorText(textEditorDialog, 'Text Editor Test');