Altova XMLSpy 2025 Enterprise Edition

GridView.OnBeforeStartEditing

Accueil Préc Haut Suivant

Event: OnBeforeStartEditing(objXMLData as XMLData, bEditingName as Boolean)as Boolean

 

XMLSpy scripting environment - VBScript:

Function On_BeforeStartEditing(objXMLData, bEditingName)

 ' On_BeforeStartEditing = False  ' to prohibit editing the field

End Function

 

XMLSpy scripting environment - JScript:

function On_BeforeStartEditing(objXMLData, bEditingName)

{

 // return false;  /* to prohibit editing the field */

}

 

XMLSpy IDE Plugin:

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

 

Description

This event gets fired before the editing mode for a grid cell gets entered. If the parameter bEditingName is true, the name part of the element will be edited, it its value is false, the value part will be edited.

 

 

© 2018-2024 Altova GmbH