RE: iCal-style NSTextFields

2010-01-10 Thread Ulai Beekam
No ideas at all? Were my instructions on how to find the iCal text fields that I want unclear? Please let me know if that is the case. > Go into iCal (in Snow Leopard) and create a new event and and then click> > outside that event. Then double-click on that event and hit the "Edit" button. >

Re: iCal-style NSTextFields

2010-01-10 Thread Seth Willits
On Jan 10, 2010, at 11:49 AM, Ulai Beekam wrote: > Go into iCal (in Snow Leopard) and create a new event and and then click> > outside that event. Then double-click on that event and hit the "Edit" button. > > In the window you see, you have some neat looking text fields that show> only > text

Re: iCal-style NSTextFields

2010-01-10 Thread Josh Abernathy
If you're asking about the shadow, create a child window and move them to that when they're editing. On Jan 10, 2010, at 11:56 AM, Seth Willits wrote: > On Jan 10, 2010, at 11:49 AM, Ulai Beekam wrote: > >> Go into iCal (in Snow Leopard) and create a new event and and then click> >> outside t

Re: iCal-style NSTextFields

2010-01-10 Thread Seth Willits
On Jan 10, 2010, at 2:54 PM, Josh Abernathy wrote: > If you're asking about the shadow, create a child window and move them to > that when they're editing. Oops. My memory of them was foggy. :-) Borderless child window it is. -- Seth Willits __

Re: iCal-style NSTextFields

2010-01-13 Thread Brad Gibbs
I'm trying to implement this. I created a custom NSTextField subclass, called ICNTextField. When an ICNTextField instance receives a mouseDown event, it initializes a custom NSWindow subclass with a borderless window mask. In the window subclass, I've overridden -canBecomeKeyWindow: so that i

Re: iCal-style NSTextFields

2010-01-13 Thread Josh Abernathy
This sounds more like a CoreData or general controller problem than anything specific to iCal-style text fields. You might want to create a new thread for this. On Jan 13, 2010, at 11:44 AM, Brad Gibbs wrote: > I'm trying to implement this. > > I created a custom NSTextField subclass, called

Re: iCal-style NSTextFields

2010-01-14 Thread Brad Gibbs
I've been working through this a bit more. To get bindings to work, I added the following to my custom textfield: if (!bindingsDict) { self.stringValue = newStringValue; } if (bindingsDict) { NSString *boundObject = [bindingsDict