On 04.08.2009, at 6:56, Graham Cox wrote:


On 04/08/2009, at 3:52 AM, Alexander Bokovikov wrote:

I'm sorry, but as I can see now, main menu shortcuts are also gray... I can delete them but I can't assign them. Why? I've created controller actions and have connected actions of menu items with the controller.


Just the keyboard items are grey, but the menu items are not? Or all grey?

I'm speaking about design-time only. Menu items themself are always active n design-time.

I select a menu item within a menu window in IB. Go to the Inspector. The leftmost tab, where item title, etc. can be assigned. Here I can see the shortcut assignment tool (at the bottom of the panel). The selection box is grey, though it contains some Shortcut (for some of menu items, like "Select All, it's empty for other items) and the "Clear" button at right. So, I can remove existing shortcut pressing Clear button, but I can neither change nor assign a new shortcut.

At first I thought, it's because I'ven't associated menu items with actions. Then I've created actions and have connected all menu items. No effect.

BTW, earlier you told that popup menu items can't have shortcuts. But I can drag a pre-configured item from the Library, like "Select All, and it will have a shortcut preset. But shortcut editing tool in IB is always grey regardless to the location of the menu item - whether it is located in main menu or in a context menu. This is the problem.

Should I send a screenshot?

Thanks.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to