Re: NSTextField Tab Order.

2012-06-13 Thread Dennis
On Jun 13, 2012, at 2:15 PM, Robert Tillyard wrote: > I'd still like to fix my window == NULL problem as I would like to make the > enter key move to the next field and skip fields if some earlier information > means that future fields are not required. Is there any chance you could be shadowin

Re: NSTextField Tab Order.

2012-06-13 Thread Ken Thomases
On Jun 13, 2012, at 4:50 PM, Quincey Morris wrote: > The other difficulty you're running into is that by design the window is not > created immediately when you create a window controller. (You say of your > code, above, that it creates a window from a XIB. It doesn't. It only creates > a windo

Re: NSTextField Tab Order. (Fixed)

2012-06-13 Thread Robert Tillyard
On 13 Jun 2012, at 22:50, Quincey Morris wrote: > On Jun 13, 2012, at 14:15 , Robert Tillyard wrote: > >> Window is created from a XIB using: >> >> - (id)initWithManagedObjectContext:(NSManagedObjectContext *)inMoc >> { >> if ((self = [super initWithWindowNibName:@"RunnersWindow" owner:self])

Re: NSTextField Tab Order.

2012-06-13 Thread Ken Thomases
Hi, On Jun 13, 2012, at 4:15 PM, Robert Tillyard wrote: > Thank you for your reply. You're welcome. > Window is created from a XIB using: > > - (id)initWithManagedObjectContext:(NSManagedObjectContext *)inMoc > { >if ((self = [super initWithWindowNibName:@"RunnersWindow" owner:self])) >

Re: NSTextField Tab Order.

2012-06-13 Thread Quincey Morris
On Jun 13, 2012, at 14:15 , Robert Tillyard wrote: > Window is created from a XIB using: > > - (id)initWithManagedObjectContext:(NSManagedObjectContext *)inMoc > { > if ((self = [super initWithWindowNibName:@"RunnersWindow" owner:self])) > [self setManagedObjectContext:inMoc]; > > retur

Re: NSTextField Tab Order.

2012-06-13 Thread Robert Tillyard
Hello, Ken, Thank you for your reply. On 13 Jun 2012, at 10:47, Ken Thomases wrote: > On Jun 13, 2012, at 3:40 AM, Robert Tillyard wrote: > >> mind you despite window being hooked up in IB window == NULL > > You need to figure this out first. It's indicative of a deeper problem. I've checked

Re: NSTextField Tab Order.

2012-06-13 Thread Ken Thomases
On Jun 13, 2012, at 3:40 AM, Robert Tillyard wrote: > mind you despite window being hooked up in IB window == NULL You need to figure this out first. It's indicative of a deeper problem. Are you referring to the window property of a custom subclass of NSWindowController? Is this window contro

NSTextField Tab Order.

2012-06-13 Thread Robert Tillyard
Hello, All, I have a window with a number of NSTextFields in two columns. The natural flow of information would be to fill in one column then the other but the tab order goes left to right then down. I've tried hooking up the nextKeyView in IB but that doesn't help. I've also used [window setA