Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3695

Keyboard.AsyncKeyDown not working with Enter or Return?

$
0
0

I’m checking for a return or enter key in a textarea, but none of the lines of the code below registers a Return or Enter key.

If Keyboard.AsyncKeyDown(&h24) Then
  System.DebugLog ("Return")
  Return True
End If

If Keyboard.AsyncKeyDown(&h4C) Then
  System.DebugLog ("Enter")
  Return True
End If

If Keyboard.AsyncKeyDown(36) Then
  System.DebugLog ("Return Dec")
  Return True
End If

If Keyboard.AsyncKeyDown(76) Then
  System.DebugLog ("Enter Dec")
  Return True
End If

7 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3695

Trending Articles