How can I disable the sound when press <Enter> key?

Hi everyone,

When I press the key in a DesktopTextField, a sound is heared.

How can I disebles this sound?

Have you tried to accept the key in the key down event of the control or window?

Or by having a default button on the window to take it?

And knowing which OS it is may hep. And seing the code for that field would also help people figure out what is going out.

Might be your input mask. Invalid keys can cause a beep.

Insert “Return True” in the KeyDown event.

1 Like

For me this only happens in Windows (not sure of OP target) and @Nedi_Freguglia has the correct solution that also worked for me.

1 Like