Hi All,

I'm trying to get my application to trap specific keyboard input  
(Enter and Return keys) using Keyboard.AsyncKeyDown. The problem I  
have is keeping the Return key from creating a carriage return in my  
EditField. It is not necessary for this EditField to be set to multi- 
line; if set to single line, I don't get  a carriage return but do  
get a space in the text as a result. Is there any way to stop the  
Return key from appending to my EditField?

<snip>
   If Keyboard.AsynckeyDown(&h24) or Keyboard.AsynckeyDown( &h4c) then
MsgBox "You Pressed the Enter or Return Key"
Else
End if

Thanks,
--Christopher
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to