realbasic-nug
[Top] [All Lists]

Re: Workarounds for Keyboard.KeyName?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Workarounds for Keyboard.KeyName?
From: Warren Heuer <wheuer at mac dot com>
Date: Wed, 30 Apr 2008 13:04:56 -0500
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <fed2e2560804301036q72c8979n50db0f5dbf05ab3e at mail dot gmail dot com>
Maybe using Asynchkeydown will solve your problem.  For example the  
Enter Key might go something like:

  if Keyboard.AsyncKeyDown ( &h4C ) then
     do something with that key
end if

You might be able to find a list of keycodes at Realgurus.com

Warren


On Apr 30, 2008, at 12:36 PM, Dennis Birch wrote:

> The built-in Keyboard.KeyName function in RB does not work properly
> for some keys on my keyboard in Mac OS X 10.5.2. I believe this is a
> known issue, and so I'm wondering if there is a known workaround?
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

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

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


<Prev in Thread] Current Thread [Next in Thread>