TextBox.SetTextSelectionBounds

Syntax variant: By line numbers and column numbers

Syntax:

SetTextSelectionBounds(<StartPosition>, <EndPosition>)

Parameters:

<StartPosition> (required)

Type: Number.
Start position of selection in the text.

<EndPosition> (required)

Type: Number.
End position of selection in the text.

Syntax variant: By line numbers and column numbers of a selected text

Syntax:

SetTextSelectionBounds(<BeginningOfTheLine>, <BeginningOfTheColumn>, <EndOfTheLine>, <EndOfTheColumn>)

Parameters:

<BeginningOfTheLine> (required)

Type: Number.
Line number of the beginning of selection.

<BeginningOfTheColumn> (required)

Type: Number.
Column number of the beginning of selection.

<EndOfTheLine> (required)

Type: Number.
Line number of the end of selection.

<EndOfTheColumn> (required)

Type: Number.
Column number of the end of selection.

Description:

Sets boundaries of a selected text area.

Availability:

Thick client.

    

1C:Enterprise Developer's Community