This event is fired, if an error occurs in the Edge Control. An error could be, for instance, an invalid image.
- Attention
- Please include the appropriate header file for your compiler (cvcerror.*).
- Parameters
-
[in] | ErrorCode | A unique number describing the error. The following error codes have been defined:
1 | CVC_E_ERROR |
| This error cannot be described more precisely. |
2 | CVC_E_PARAMETER |
| There is a incorrect parameter in a function call. |
5 | CVC_E_MEMORY |
| Memory could not be allocated. |
6 | CVC_E_INVALIDPLANE |
| The plane specified in the PlaneIndex property is invalid. |
16 | CVC_E_NOIMAGE |
| There is no image assigned to the control. |
|
[in] | ErrorString | Specifies the error text of the output. |
[in,out] | Continue | This specifies whether execution should continue despite the error. The user can overwrite the value in order to change the default action. The default value depends on the function that caused the error.
TRUE specifies that a message box will appear to inform the user of the error. FALSE means that it is possible to perform custom error handling, e.g. use a self-defined message-box. |
- Related Topics:
- Execute
- Examples:
- Delphi - Delphi Edge OCX Example
Visual Basic - VB Edge OCX Example
Visual C++ - VC Edge OCX Example