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.
private void EditOpen(object sender) { } Private Sub EditOpen(ByVal sender As System.Object) Handles EditOpen End Sub |
private void EditOpen(object sender, EventArgs e) { } void OnEditOpen() { } void __fastcall EditOpen(TObject *Sender) { } procedure EditOpen(ASender: TObject; ); begin end; procedure EditOpen(sender: System.Object; e: System.EventArgs); begin end; begin event EditOpen() end event EditOpen Private Sub EditOpen(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EditOpen End Sub Private Sub EditOpen() End Sub Private Sub EditOpen() End Sub LPARAMETERS nop PROCEDURE OnEditOpen(oXMLGrid) RETURN |
<SCRIPT EVENT="EditOpen()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function EditOpen() End Function </SCRIPT> Procedure OnComEditOpen Forward Send OnComEditOpen End_Procedure METHOD OCX_EditOpen() CLASS MainDialog RETURN NIL void onEvent_EditOpen() { } function EditOpen as v () end function function nativeObject_EditOpen() return |
The following VB sample displays a message when an editor is opened:
Private Sub XMLGrid1_EditOpen() Debug.Print "XMLGrid1_EditOpen event is fired" End Sub
The following C++ sample displays a message when an editor is opened:
void OnEditOpenXmlgrid1() { OutputDebugString( "OnEditOpenXmlgrid1 is called." ); }
The following VB.NET sample displays a message when an editor is opened:
Private Sub AxXMLGrid1_EditOpen(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxXMLGrid1.EditOpen Debug.Print("AxXMLGrid1_EditOpen is called.") End Sub
The following C# sample displays a message when an editor is opened:
private void axXMLGrid1_EditOpen(object sender, EventArgs e) { System.Diagnostics.Debug.Write("axXMLGrid1_EditOpen is called."); }
The following VFP sample displays a message when an editor is opened:
*** ActiveX Control Event *** wait window nowait "EditOpen event is called."