Re: How to set tab order in a window that has view swapping
Re: How to set tab order in a window that has view swapping
- Subject: Re: How to set tab order in a window that has view swapping
- From: Michael Babin <email@hidden>
- Date: Tue, 25 Jan 2011 07:15:25 -0600
On Jan 25, 2011, at 1:21 AM, Abhijeet Singh wrote:
> Hi,I have a single window with a toolbar and a custom view in my application. Toolbar has Back and Next button on it. This is my MainMenu.xib. I have 5 more xibs other than the MainMenu.xib in my application. Each xib contains one view with different controls in it. On Next and Back button click on my Main window the current view is swapped with another view. On my first view there is a NSPopupButton. I want when the first view is displayed the keyboard focus should be on NSPopupButton and on tab key press it should move to next control in the tab order. Basically I want my user to be able to use the tab control to change the keyboard focus in all my views.
See -[NSView nextKeyView] and friends._______________________________________________
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