Altova Authentic 2025 Desktop

The example implements two event callbacks for AuthenticDesktopControl custom events to show the principle:

 

<!-- ----------------------------------------------------------- -->
<!--  custom event 'OnDocumentOpened" of AuthenticDesktopControl object  -->
<SCRIPT FOR="objAuthenticDesktopControl" event="OnDocumentOpened( objDocument )" LANGUAGE="javascript">
  // alert("Document '" + objDocument.Name + "' opened!");
</SCRIPT>
 
<!-- ----------------------------------------------------------- -->
<!--  custom event 'OnDocumentClosed" of AuthenticDesktopControl object  -->
<SCRIPT FOR="objAuthenticDesktopControl" event="OnDocumentClosed( objDocument )" LANGUAGE="javascript">
  // alert("Document '" + objDocument.Name + "' closed!");
</SCRIPT>

© 2018-2024 Altova GmbH