navigating NSPopUpButton menu items with arrow keys
navigating NSPopUpButton menu items with arrow keys
- Subject: navigating NSPopUpButton menu items with arrow keys
- From: sqwarqDev <email@hidden>
- Date: Sun, 23 Aug 2015 15:05:09 +0700
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 (email@hidden)
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:
This email sent to email@hidden