TX Text Control ActiveX

Error Event

Event

Occurs when the Text Control reports an error.

Syntax

Error(Number, Description, Scode, Source, HelpFile, HelpContext, CancelDisplay)

Parameters

ParameterDescription
NumberIs the error number.
DescriptionIs a corresponding error string. This string can be changed.
ScodeIs the OLE Status Code.
SourceIs the name of the module which caused the error.
HelpFileIs the name of a help file.
HelpContextIs the help context ID in this help file.
CancelDisplayCan be set to True if the application wants to display its own error string. When this parameter is not set to True, the control will display a message box showing the error string.

Data Types

NameData type
NumberInteger
DescriptionString
ScodeLong
SourceString
HelpFileString
HelpContextLong
CancelDisplayBoolean

See Also