SelectionStart
表單、互動、Unicode
描述
傳回作用中編輯之正規化選取範圍開始處以零為基底的 UTF-16 索引 起始索引是
SelectionAnchor 與 SelectionCaret 中較小者,因此反向與正向選取會回報相同的起點
選取範圍編輯會將此索引與
SelectionLength 結合,以計算被取代的文字範圍
宣告
property SelectionStart: Integer;
值
傳回 EditValue 內的 UTF-16 起始索引,沒有作用中的編輯時則為零
另請參閱
SelectionLength, SelectionAnchor, SelectionCaret, NormalizeSelection, GetSelectionRange