ComponentOne True DataControl 8.0
ErrorMsgRestore Property

 

ErrorMsgRestore Property

Specifies whether to prompt for resetting value on field value errors.

Syntax

TData.ErrorMsgRestore = boolean

Remarks

Read/Write at run time and design time. Property applies to TData control.

This property controls the prompt to restore the field's previous value, appearing in the error message on field errors: "Do you want to restore the previous value?"

When set to True, the standard prompt appears in the standard error message wherever applicable.

When set to False, this property suppresses the standard prompt. Standard error messages don’t prompt the user to restore the previous value.

You can set this property at run time, including in your Error event handler where you can decide whether you need the standard prompt or not.       

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