Re: Programmatically switching text fields

2015-08-02 Thread Graham Cox
> On 3 Aug 2015, at 2:28 pm, Ken Thomases wrote: > > The default implementation of -canBecomeMainWindow returns NO for panels. Is > your window intended to be the main window? Is it actually? Does it change > anything if you add an override to return YES? Well, it doesn’t need to be main,

Re: Programmatically switching text fields

2015-08-02 Thread Ken Thomases
On Aug 2, 2015, at 11:01 PM, Graham Cox wrote: > On 3 Aug 2015, at 12:13 pm, Ken Thomases wrote: >> >> You can try [[self window] selectKeyViewFollowingView:control] instead. > > Great! That works fine. Glad to hear it. > The only problem remaining then is that the first field isn’t properl

Re: Programmatically switching text fields

2015-08-02 Thread Graham Cox
> On 3 Aug 2015, at 12:13 pm, Ken Thomases wrote: > > You can try [[self window] selectKeyViewFollowingView:control] instead. Great! That works fine. The only problem remaining then is that the first field isn’t properly selected when the window shows up - it is initialFirstResponder and get

Re: Programmatically switching text fields

2015-08-02 Thread Ken Thomases
On Aug 2, 2015, at 7:29 PM, Graham Cox wrote: > I have a series of NSTextFields and I want to automatically move the keyboard > focus to the ‘next’ field when the one preceding it has a certain number of > characters entered. My code is: > > - (void) controlTextDidChange:(NSNotifi

Programmatically switching text fields

2015-08-02 Thread Graham Cox
I think this came up recently in a slightly different context, but reading that thread doesn’t help me with my problem here. I have a series of NSTextFields and I want to automatically move the keyboard focus to the ‘next’ field when the one preceding it has a certain number of characters enter

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-08-02 Thread Dave
> On 30 Jul 2015, at 18:16, Alex Zavatone wrote: > > > On Jul 30, 2015, at 9:45 AM, Shane Stanley wrote: > >> On 30 Jul 2015, at 9:36 pm, Alex Zavatone wrote: >>> >>> Including me, I know of three people who have gotten these. >> >> FWIW, it's also happening to on at least one other Apple m