TFrameViewer, and TFrameBrowser components
property OnHotSpotTargetCovered: THotSpotTargetEvent;
The OnSpotTargetCovered event occurs when the mouse is moved over or away from an hypertext link. This event may be used to display the destination URL of a hypertext link to allow the user to decide if it should be selected.
The following code may be used to provide a status line display of the hypertext link at the mouse position:
Viewer.OnHotSpotTargetCovered := HotSpotChange;
...
procedure TForm1.HotSpotTargetChange(Sender: TObject;
const Target, URL: string);
begin
if URL = '' then
Panel2.Caption := ''
else if Target <> '' then
Panel2.Caption := 'Target: '+Target+' URL: '+URL
else
Panel2.Caption := 'URL: '+URL
end;