Icon SelectionEnd Property

property SelectionEnd: Integer

Available In: Visual Client Applications

Specifies the ending position (0-based) of the selected characters in the text. For example, if the control contains the text "Hello World", setting the SelectionStart property to 6 and the SelectionEnd property to 11 will result in the text "World" being selected.
Image