realbasic-nug
[Top] [All Lists]

RE: Help with Win32 keyboard shortcuts

To: kamm at sky-software dot com, REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: Help with Win32 keyboard shortcuts
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 30 Jun 2004 13:54:44 -0500
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
References: <20040630181409 dot CBWO14365 dot mta13 dot adelphia dot net at gateway>
At 2:14 PM -0400 6/30/04, Kamm Schreiner wrote:

Anyway there is no code in the *key* events for any of these controls.

That's OK.

However, cut and paste work on Mac version of the program compiled with
4.5.3. They do not work on the Windows version of the program compiled with
5.5.2. I can't get RB 5.5.2 to compile an OS X version of my app and when I
try to run the OS 9 version, I get an out of memory error.

Those problems are worth fixing. The OS 9 problem is trivial to fix: increase the memory allocation to the app (this is in the Build Settings dialog, Mac panel). I can't guess why it won't build for OS X without more detail.

My guess is that when you get your app working on the Mac with 5.5.2, the Edit commands will work just fine there too. That's because Mac apps always have a menu bar, and unless you've specifically deleted them, your menu bar contains the appropriate Cut/Copy/Paste commands.

That's why I'm referring to the one I'm running from 4.5.3. I'm willing to bet that if I compile a Windows version using 4.5.3 that cut/copy/paste will work.

I'd take you up on that.  :)

You also wrote:
<<
If you had an app that supported those shortcuts without appropriate menu
commands, then it was doing something special, and was neither following Mac
UI guidelines nor using the standard Mac menu manager.


Come on Joe... You don't really mean that do you?

Yes, I do.

5. Notice that you can cut/paste/copy with the command keys yet there is no
Edit menu for them.

Actually there is, though it's disabled. But you're right, this is a special case in that the file dialog is really part of the OS, not part of the app itself. Apple is neither using the standard menu manager that apps use, nor following its own guidelines here (and that is nothing particularly unusual for Apple).

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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