Habilite JavaScript para visualizar esta página.

Altova StyleVision 2020 Enterprise Edition

A mandatory event handler, such as for an already opened file:

 

<!--  custom event 'OnOpenedOrFocused" of StyleVisionControl object  -->
function objStyleVisionControl::OnOpenedOrFocused( strFilePath, bOpenWithThisControl, bFileAlreadyOpened)
{
    if (!bFileAlreadyOpened)
     DoOpenFile(objDoc1, strFilePath);
     msgtext.innerText = "Opened document: " + strFilePath;
}

© 2019 Altova GmbH