![]() | Type | Description |
The edit events are fired in the following order:
Edit event. Prevents editing nodes, before showing the node's editor.
EditOpen event. The edit operation started, the node's editor is shown. The Editing property gives the window's handle of the built-in editor being shown.
Change event. The Change event is fired only if the user types ENTER key, the user selects a new value from a predefined data list, or focus a new node.
EditClose event. The node's editor is hidden and closed.
The following VB sample displays a message when an editor is closed:
Private Sub XMLGrid1_EditClose()
Debug.Print "XMLGrid1_EditClose event is fired"
End SubThe following C++ sample displays a message when an editor is closed:
void OnEditCloseXmlgrid1()
{
OutputDebugString( "OnEditCloseXmlgrid1 is called." );
}The following VB.NET sample displays a message when an editor is closed:
Private Sub AxXMLGrid1_EditClose(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxXMLGrid1.EditClose
Debug.Print("AxXMLGrid1_EditClose is called.")
End SubThe following C# sample displays a message when an editor is closed:
private void axXMLGrid1_EditClose(object sender, EventArgs e)
{
System.Diagnostics.Debug.Write("axXMLGrid1_EditClose is called.");
}The following VFP sample displays a message when an editor is closed:
*** ActiveX Control Event *** wait window nowait "EditClose event is called."