ImageEn, unit iexRichEdit

TIERichEdit.SetSelectionAsLink

TIERichEdit.SetSelectionAsLink


Declaration

procedure SetSelectionAsLink(const LinkURL: string = '');


Description

Converts the current selection to a clickable link.
If a link URL is not specified the selection is only underlined.

Rich Edit Identifier: EM_SETCHARFORMAT


Example

// Convert the selected text to a link
IERichEdit1.SetSelectionAsLink( 'http://www.ImageEn.com' );