Messenger Plus! Live - Scripting Documentation

The PlusWnd::EditBox_ReplaceSel function replaces the text selected in an EditControl or a RichEditControl.

Syntax

EditBox_ReplaceSel(
    [string] ControlId,
    [string] Text
);

Parameters

ControlId
[string] Unique identifier of the control.
Text
[string] New text to be inserted in place of the current selection. Set this parameter to an empty string to delete the text currently selected.

Return Value

No value is returned by this function.

This function typically fails for the following reason:

Remarks

None.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.21

See Also

PlusWnd Object, EditBox_SetCurSel.