Type | Description | |||
Error as Long | A long expression that specifies the code of the error | |||
Description as String | A String expression that specifies the description of the error. |
Syntax for Error event, /NET version, on:
private void Error(object sender,int Err,string Description) { } Private Sub Error(ByVal sender As System.Object,ByVal Err As Integer,ByVal Description As String) Handles Error End Sub |
private void Error(object sender, AxEXCASCADETREELib._ICascadeTreeEvents_ErrorEvent e) { } void OnError(long Error,LPCTSTR Description) { } void __fastcall Error(TObject *Sender,long Error,BSTR Description) { } procedure Error(ASender: TObject; Error : Integer;Description : WideString); begin end; procedure Error(sender: System.Object; e: AxEXCASCADETREELib._ICascadeTreeEvents_ErrorEvent); begin end; begin event Error(long Error,string Description) end event Error Private Sub Error(ByVal sender As System.Object, ByVal e As AxEXCASCADETREELib._ICascadeTreeEvents_ErrorEvent) Handles Error End Sub Private Sub Error(ByVal Error As Long,ByVal Description As String) End Sub Private Sub Error(ByVal Error As Long,ByVal Description As String) End Sub LPARAMETERS Error,Description PROCEDURE OnError(oCascadeTree,Error,Description) RETURN |
<SCRIPT EVENT="Error(Error,Description)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Error(Error,Description) End Function </SCRIPT> Procedure OnComError Integer llError String llDescription Forward Send OnComError llError llDescription End_Procedure METHOD OCX_Error(Error,Description) CLASS MainDialog RETURN NIL void onEvent_Error(int _Error,str _Description) { } function Error as v (Error as N,Description as C) end function function nativeObject_Error(Error,Description) return |