On 26 jul 2011, at 09:03, Bill Appleton wrote:

> The items in the main menu DO have the standard key bindings, they are 
> disabled when the modal dialogs come up
> The items in the right-click menu do NOT have the key bindings but they are 
> enabled, i didn't make these menus
> The dialogs are modal


OK, great. In that case it's weird that your cut/copy/paste items are not 
enabled while a text field in your dialog has focus. You have focus set in one 
of your text fields / views, right?


> I agree it should just work. Is the problem that the main app menus need to 
> be enabled when the dialogs are up? the dialogs are not using the main app 
> menu system at that time...


Not sure what you mean with "not using the main app menu system"? I'd argue 
that it should be, and that you should be using regular first responder based 
menu item validation for making sure that only the menu items that make sense 
are enabled during your modal session (again something that typically works 
without any additional work on your part).


j o a r


_______________________________________________

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