Received an answer off list.  Changing the variable key from #13 to #0
gets rid of the beep.

John

Automation Artisans Inc.
http://www.autoartisans.com/ELS/
Ph. 1 250 544 4950


> -----Original Message-----
> From: delphi-boun...@elists.org 
> [mailto:delphi-boun...@elists.org] On Behalf Of John Dammeyer
> Sent: Wednesday, August 17, 2011 7:55 PM
> To: 'Moderated List for the Discussion of Delphi 
> ProgrammingexcludingDatabase-related topics'
> Subject: Typing ENTER key in Tedit rings bell
> 
> 
> I'm using a Tedit form for entering a string of characters.  
> I want the
> ENTER key to call a button ONCLICK event.  That all works.  
> The problem is
> the ENTER key also rings the bell on Windows.
> 
> How do I prevent the bell from ringing.  I'm guessing it's because the
> ENTER key is considered an invalid input.  How do I add the 
> ENTER key to
> be a valid input so it doesn't bing the bell?
> 
> Thanks
> 
> John
> 
> Automation Artisans Inc.
> http://www.autoartisans.com/ELS/
> Ph. 1 250 544 4950
> 
> _______________________________________________
> Delphi mailing list
> Delphi@elists.org
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
> 

_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to