ComponentOne True DataControl 8.0
ErrorMsgCaption Property

 

ErrorMsgCaption Property

Overrides the default message box caption for run-time errors.

Syntax

TData.ErrorMsgCaption = string

Remarks

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

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback