On Aug 10, 2009, at 11:04 PM, Uli Kusterer wrote:
On Aug 8, 2009, at 3:30 AM, Kirk Swenson wrote:
- (id) windowWillReturnFieldEditor: (NSWindow*) aWindow toObject:
(id) anObject
{
// myTextFieldEditor is a member variable, so there will only be
one of them.
if
dialogs with multiple
edit fields.
[myTextFieldEditor setFieldEditor: YES];
}
return myTextFieldEditor;
}
There may be a better solution out there, but this seems to work.
Kirk Swenson
Senior Software Engineer
KCP Technologies
tText:, testing for
the string to be replaced, and then passing the replacement string to
[super insertText:]. Of course, to use this approach you have to
implement windowWillReturnFieldEditor:toObject: in your window
controller to return your derived class when asked.
Kirk Swenson
KCP Tec
rPath
bezierPathWithRect:focusRingBounds];
[path setClip];
[path fill];
[NSGraphicsContext restoreGraphicsState];
[self unlockFocus];
Essentially the same code is working for me, except that I'm not
calling the setClip method. Have you tried without the call to setClip?
Kirk Swenson
KCP Technol
string (with the currency
symbol).
Kirk Swenson
KCP Technologies
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Hel