SetSelectionRange メソッド (AWTTextComponent)

クラス

AWTTextComponent.

処理

指定した範囲のテキストを選択します。

構文

textComponent.SetSelectionRange(selectionStart, selectionEnd)
変数 説明
selectionStart 選択範囲の開始位置。 The value is zero-based.。 Integer
selectionEnd 選択範囲の終了位置。 The value is zero-based.。 Integer

textComponent.SetSelectionRange(11, 15)