SetCaretPosition メソッド (AWTTextComponent)

クラス

AWTTextComponent.

処理

テキスト コンポーネントのテキスト挿入キャレットの位置を設定します。

構文

textComponent.SetCaretPosition(index)
変数 説明
index テキスト挿入キャレットの新しい位置。 The value is zero-based.。 Integer

textComponent.SetCaretPosition(7)