Component: TPdf · Unit: PDFium
Fires when an embedded JavaScript or XFA script invokes app.alert, allowing the host to display the message instead of the default message box
Remarks
- Set Handled to True in the handler to suppress the default Application.MessageBox call
- The Result parameter receives the user-selected button code (JSPLATFORM_ALERT_RETURN_*) when Handled is True
- When unassigned, a default OK/Yes/No message box with the closest matching icon is shown automatically
See Also