THtmlViewer component
property OnHotSpotClick: THotSpotClickEvent;
The OnHotSpotClick event occurs when the mouse is over an hypertext link and the left mouse button is clicked. See the THotSpotClickEvent type for information on the parameters.
The following code may be used to load the hypertext link URL into an Edit box when a mouse click occurs:
Viewer.OnHotSpotClick := HotSpotClick;
....
procedure TForm1.HotSpotClick(Sender: TObject; const URL: String;
var Handled: Boolean);
begin
Handled := False;
end;