Re: key equivalents in Interface Builder Xcode 4
Re: key equivalents in Interface Builder Xcode 4
- Subject: Re: key equivalents in Interface Builder Xcode 4
- From: Brian Gardner <email@hidden>
- Date: Fri, 01 Jul 2011 18:41:30 -0700
Ok... here's the results:
1. I tried using just R as the key equivalent, but it didn't work.
2. When I pull down the menus, in the running app, I see all that all key equivalents I set in IB are shown.
That includes just the R, and all my others: option-a, option-i, option-d
It also includes command-space
None of these work. However, my command-1, command-2, command-6
all do work properly.
3. When I pull them down, all the menus are enabled.
4. I haven't done this one yet .... but.... here's something interesting....
when I pull down the menu (click on "View" for example)
and then hit option-d it DOES work.
- In fact, all the Option keys equivalents work, if the menu it already pulled down.
- None of the Option keys equivalents work if the menu is not already pulled down.
- All Command key equivalents work, regardless of whether the menu is already pulled down.
- Just the R key does not work, regardless of whether the menu is already pulled down.
If it's pulled down, the R will select the first menu item that starts with an R (but not execute it).
Puzzling. Maybe there's something I need to set, to steer the non-Command key equivalents
from the QTMovieView to the Menu?
> guide ... which says that the base character must be able to be produced without any modifiers other than Shift.
I didn't understand that, since it also says: may also include the masks for the Shift, Option, or other modifier keys.
It talks about the key equivalent being set (programmatically) in 2 parts,
for example NSCommandKeyMask and R (to set key equivalent Command-R ).
But in Interface Builder, you select the key equivalent section of the menu item,
then you just hold down the Command key and press the R key,
and that sets both the 2 parts.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden