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.


XMLInvalid(FilePos, Scode, Description, CancelDisplay)
Parameter Description

Is the absolute file position where the error occurred.


Is the OLE Status Code.


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


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