Altova XMLSpy 2024 Enterprise Edition

AuthenticView.OnBeforeDelete

Home Prev Top Next

Event: OnBeforeDelete() as Boolean

 

Scripting environment - VBScript:

Function On_AuthenticBeforeDelete()

 ' On_AuthenticBeforeDelete = False  ' to disable operation

End Function

 

Scripting environment - JScript:

function On_AuthenticBeforeDelete()

{

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

}

 

IDE Plugin:

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

 

Description

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

© 2017-2023 Altova GmbH