Habilite JavaScript para visualizar esta página.

Altova StyleVision 2020 Enterprise Edition

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

 

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

 

© 2019 Altova GmbH