Xbasic

UI_EDITOR_COMMAND Function

Syntax

C UI_EDITOR_COMMAND(C Command)

Arguments

Command

One of the following commands.

"EDIT_CUT"
"EDIT_COPY"
"EDIT_DELETE"
"EDIT_SELECT_ALL"
"EDIT_PASTE"
"EDIT_UNDO"

Description

The UI_EDITOR_COMMAND() function executes or queries an editor command as if it were executed from the menus.(EDIT_COPY,EDIT_PASTE etc).

Example

In the following example the word "keyword" was put into the clipboard, then the function was run.

? ui_editor_command("EDIT_PASTE")
keyword
= ""

Limitations

Desktop applications only.

See Also