Messenger Plus! Live - Scripting Documentation

The PlusWnd::EditBox_SetCurSel function sets the current selection of an EditControl or a RichEditControl.

Syntax

EditBox_SetCurSel(
    [string] ControlId,
    [number] Start,
    [number] End
);

Parameters

ControlId
[string] Unique identifier of the control.
Start
[number] Index of the first character to select.
End
[number] Index following the last character to select.

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_GetCurSelStart, EditBox_GetCurSelEnd.