ComponentOne True DBInput Pro 8.0
ErrorBeep Property (TDBMask)

 

Reference> TDBMask Control> TDBMask Control Properties> ErrorBeep Property (TDBMask)

ErrorBeep Property (TDBMask)

Sets/returns whether to allow a beep on an error.

Syntax

control.ErrorBeep= boolean

Read/Write at run time and design time.

Values

True - Beep on error

False - No beep (Default)

Remarks

When an invalid character is pressed or when pasting an invalid text string from the Clipboard, a beep will sound to notify the user. The InvalidInput event will also be fired in these cases.

You can handle the InvalidValue and the InvalidRange events by invoking the Beep statement provided in VB when the user tries moving the focus away from the control with an invalid value or a value out of the appropriate range.

See Also

MaxDate Property (TDBDate)

MinDate Property (TDBDate)

InvalidInput Event (TDBMask)

 

 


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

Product Support Forum  |  Documentation Feedback