Altova XMLSpy 2025 Professional Edition 

Event: OnBeforeCut() as Boolean

 

Scripting environment - VBScript:

Function On_AuthenticBeforeCut()

 ' On_AuthenticBeforeCut = False  ' to disable operation

End Function

 

Scripting environment - JScript:

function On_AuthenticBeforeCut()

{

 // return false;  /* to disable operation */

}

 

IDE Plugin:

IXMLSpyPlugIn.OnEvent (20, ...)        // nEventId = 20

 

Description

This event gets triggered before a cut operation gets performed on the document. Return True (or nothing) to allow cut operation. Return False to disable operation.

© 2018-2024 Altova GmbH