SelLength,SelStart,SelText,SelLengthB,SelStartB プロパティ(実行時専用)

関連項目
対象

構文

object. SelLength [= number]
object. SelStart [= number]
object. SelLengthB [= number]
object. SelStartB [= number]
object. SelText [= string]

SelLength,SelStart, SelLengthB,SelStartB プロパティの構文の指定項目は次のとおりです。

指定項目内容
object
「対象」一覧内のいずれかのオブジェクトを指すオブジェクト式です。
number
選択文字数、選択開始位置を設定します。

SelText プロパティの構文の指定項目は次のとおりです。

指定項目内容
object
「対象」一覧内のいずれかのオブジェクトを指すオブジェクト式です。
string
選択文字列が設定されます。

データ型

SelLength,SelStart, SelLengthB,SelStartB
: 整数型
SelText : 文字列型

解説

テキスト(Textプロパティ)の選択文字数(SelLength)/選択文字(バイト単位)数(SelLengthB)、選択開始位置(SelStart)/選択開始(バイト単位)位置(SelStartB)、選択テキスト(SelText)を設定/取得します。