Executing nextKeyView from NSDrawer to NSWindow
Executing nextKeyView from NSDrawer to NSWindow
- Subject: Executing nextKeyView from NSDrawer to NSWindow
- From: Tim James <email@hidden>
- Date: Mon, 14 Apr 2003 17:13:20 -0700 (PDT)
I've been trying to get the tab key change the keyboard focus through three
items in my Cocoa application. I want it to start in the NSTableView. When
tab is pressed, it should go to another table view that is in an drawer
attached to my main window (where the NSTableView is located). Another tab
should put the focus on an NSTextField in the main window. The final tab
should send the focus back to the first-mentioned table view.
So far, all the tabbing works properly except getting from the table view in
the drawer to the table view in the main window.
I believe this has something to do with the fact that the drawer has it's own
window associated with it (privately) and that each window has its own
nextKeyView loop, and since I set the loop up in IB, it only sets it within the
main window's key loop, and not within the drawer's window's key loop.
Does anyone have any suggestions to make this work?
Thanks.
Tim
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.