True DataControl 8.0 Reference > True DataControl Control > TData Control Properties > ErrorMsgCaption Property |
ErrorMsgCaption Property
Overrides the default message box caption for run-time errors.
TData.ErrorMsgCaption = string
Read/Write at run time and design time. Property applies to TData control and TDataLite control.
Set this property to override the default message box caption for run-time errors shown to the end-user. If this property is left empty (the default), run-time error message boxes are displayed with the default caption:
ComponentOne True Data Control 8.0
or
ComponentOne True Data Control Lite 8.0
By assigning a nonempty value to the ErrorMsgCaption property, you can change this caption to whatever is appropriate for your application. You can also set this property in your Error event handler to provide different captions for different types of errors.
Note: At design time, this property is not available in the property pages and must be set in the Visual Basic Properties window.
See Also