| To: | "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Workarounds for Keyboard.KeyName? |
| From: | "Dennis Birch" <dennisbirch at gmail dot com> |
| Date: | Wed, 30 Apr 2008 11:21:01 -0700 |
| 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> <A4BE2F5F-F711-4D3D-AAA8-31DDED760210 at mac dot com> |
On Wed, Apr 30, 2008 at 11:04 AM, Warren Heuer <wheuer at mac dot com> wrote: > 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 The something I want to do with that key is get its name in order to display it to the user in a Preferences window. In the case of when the Preferences window is opening and the user has previously entered a choice I don't even need to poll the keyboard to get the keycode, as I have previously stored that. (But I am using AsyncKeyDown to get the keycode when the user makes an entry.) Because there are many possible different keyboard layouts, it would be difficult for any list to be accurate. _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Workarounds for Keyboard.KeyName?, Warren Heuer |
|---|---|
| Next by Date: | Re: Workarounds for Keyboard.KeyName?, Frank Condello |
| Previous by Thread: | Re: Workarounds for Keyboard.KeyName?, Warren Heuer |
| Next by Thread: | Re: Workarounds for Keyboard.KeyName?, Frank Condello |
| Indexes: | [Date] [Thread] [Top] [All Lists] |