Reference > TDBTime Control > TDBTime Control Properties > ErrorBeep Property (TDBTime) |
ErrorBeep Property (TDBTime)
Sets/returns whether to allow a beep on an error.
control.ErrorBeep= boolean
Read/Write at run time and design time.
True - Beep on error
False - No beep (Default)
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