Prototype

TLinkEvent = procedure(Sender: TObject; aType: TLinkType; const aURI, aResourcePath: string; var aHandled: boolean) of object;

Description

TLinkEvent is the function type for an OnLink event.


aType contains the type of link (link, anchor, custom). aURI contains the relative or absolute URI. aResourcePath contains the root path after loading with LoadFromURI. Return aHandled to true to break the processing chain.

See also

TLinkType

TMDStyle.OnLinkClick

TMDCustomControl.OnLinkClick