BeepOnEnter Property

Applies to TestComplete 15.45, last modified on December 01, 2022

Specifies whether the beep sound is played when the user presses Enter within the text box.

Declaration

componentObj.BeepOnEnter
Read-Write Property Boolean
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxButtonEdit, TcxCalcEdit, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxMRUEdit, TcxSpinEdit, TcxTextEdit, TcxTimeEdit

Description

The BeepOnEnter property lets you determine or specify whether the beep sound is played when the user presses Enter within the text box component. To enable the sound, set BeepOnEnter to True. Setting BeepOnEnter to False disables the sound.

If the form has a default button (the button which Default property is True), then the Enter keypress will be processed by that button and cause the form to close and no beep sound will be played regardless of the BeepOnEnter property value.

Property Value

True, if the beep sound is played when Enter is pressed within the text box; False if no sound is played.

Highlight search results