custom focus ring ?
custom focus ring ?
- Subject: custom focus ring ?
- From: Bob Miller <email@hidden>
- Date: Tue, 11 Jan 2005 17:20:38 -0500
Hello,
Can anyone tell me if there is a way to draw a custom focus ring on an
NSCell. Specifically a raised editor type border. I have a custom
subclass of NSTextField that does automatic resizing to fit the text it
contains. I want the text field to act like a field as far as the
responder chain is concerned but behave like a resizable text view.
When I try to draw outside the text field's bounds I see I am being
clipped by an _NSKeyboardFocusClipview class. Which seems to control
the clip area so that the current graphics context cannot draw outside
of that area. Is there something I'm missing (other than a few cards
ffroma full deck) Why is it so difficult to try and draw a border
around a text field ? Any help is greay appreciated.
Thanks in advance,
Regards,
Bob M.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden