ErrorMsg Event
Public Event ErrorMsg(Source$, Description$)
This Event is raised when an error occurs in ecGraph3D. You can deal with it in your main program with a routine like the one shown below.
Parameter | Type | Description |
Source$ |
String |
The module and procedure where the error occurred |
Description$ |
String |
A description of the error |
See Also..
SuppressRaisingEvents   Redrawn   ViewAngleChanged  
Example..
Private Sub ecGraph3D1_ErrorMsg(Source As String, Description As String)
'Shows how to deal with any critical error that may arise in ecGraph3D,
'instead of crashing the program
Dim i As Integer, ErrMsg$
ErrMsg$ = Source + vbCrLf + Description
i = MsgBox(ErrMsg$, vbAbortRetryIgnore)
If i = vbAbort Then End
On Error GoTo 0
End Sub
Contents Variables Events Properties Functions Subs
ecGraph3D Copyright © 2008, Encore Consulting Pty Ltd