[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting Events of NSTextField



On Wednesday, January 3, 2001, at 02:53 PM, Gideon Tearle wrote:

>... either return an altered field editor with the 
> processing behaviour you want (possibly via NSWindow's delegate method 
> windowWillReturnFieldEditor:toObject:), or subclass NSWindow/NSPanel and 
> intercept the sendEvent: message. If you do this then you can examine the event before 
> handing it on to [super sendEvent:theEvent]. 

Interesting, I didn't realize you could use a delegate method to get the Field Editor. I'll have to look into that. Thanks for the info, it's appreciated.

---
Wade Cosgrove
Software Engineer
CE Software, Inc.
wade@xxxxxxxxxx