TX Text Control ActiveX

XMLInvalid Event

Event

Occurs when a loaded XML document cannot be validated with the document type definition (DTD) referenced in the document. The document's contents are loaded but the document itself cannot be handled or saved as XML document.

Syntax

XMLInvalid(FilePos, Scode, Description, CancelDisplay)

Parameters

ParameterDescription
FilePosIs the absolute file position where the error occurred.
ScodeIs the OLE Status Code.
DescriptionExplains the reason for the error. This string can be changed.
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 an error string.

Data Types

NameData type
FilePosLong
ScodeLong
DescriptionString
CancelDisplayBoolean

See Also