property OnXfaGotoUrl: TPdfXfaGotoUrlEvent read FOnXfaGotoUrl write FOnXfaGotoUrl;
Occurs when an element or script in an XFA layout requests a page navigation action to a specific destination URL
| Sender | The component that triggered the event |
| Url | The target web address or anchor destination URL string |
| Handled | Set this to True to confirm the host has managed the navigation, preventing any default handlers |
procedure TForm1.Pdf1XfaGotoUrl(Sender: TObject; const Url: WString; var Handled: Boolean);
ShellExecute(0, 'open', PChar(string(Url)), nil, nil, SW_SHOWNORMAL);
Handled := True;
end;