THtmlViewer, TFrameViewer, and TFrameBrowser components
property SelLength: LongInt;
The SelLength property gives the number of characters currently selected. Its value may be positive or negative indicating the direction of selection. The starting value of the selection is given by the SelStart property.
The SelLength property may be set to 0 to clear text selection.