THtmlViewer, TFrameViewer, and TFrameBrowser components
function GetSelTextBuf(Buffer: PWideChar, BuffSize: integer): integer;
The GetSelTextBuf method copies the selected text into the buffer pointed to by Buffer, up to a maximum of BufSize characters, and returns the number of characters copied. For TFrameViewer.GetSetTextBuf, the selected text copied is that of the currently active Frame.
See also