I have an NSPopupButton in my app with half a dozen or more menu item choices.

When a user clicks on the button, they can navigate up and down the menu items 
by using the up and down arrow keys. 

When the user navigates to the last item in the list, further presses on the 
down arrow key do nothing, and the user has to reverse direction using the up 
arrow. If the user is at the first item and wants to choice the last, or vice 
versa, this is a bit irritating.

Is there any way to have the down arrow cycle back to the first item when it 
reaches the last one (and indeed vice versa)?

I’m sure I’ve seen this behaviour in other apps, but I can’t seem to frame the 
question clearly enough to get any useful search results.


TIA


Best


Phil



_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to