TXTextControl.XMLInvalid 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)
Parameter Description
FilePos

Is the absolute file position where the error occurred.

Scode

Is the OLE Status Code.

Description

Explains the reason for the error. This string can be changed.

CancelDisplay

Can 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

FilePos: Long
Scode: Long
Description: String
CancelDisplay: Boolean

See Also