Re: Drawing the focus ring
Re: Drawing the focus ring
- Subject: Re: Drawing the focus ring
- From: Ricky Sharp <email@hidden>
- Date: Mon, 13 Jun 2005 06:18:36 -0500
On Jun 13, 2005, at 12:19 AM, Sam Wilkins wrote:
I'm having a bit of a problem drawing the focus ring around a custom
view I'm writing. I'm calling setFocusRingType: with
NSFFocusRingExterior in my init method, and
setKeyboardFocusRingNeedsDisplayInRect: with [self frame] at the end
of my drawRect:, but I'm not having any luck. Any help would be
appreciated.
Take a look at the ClockControl example code. It draws the standard
keyboard focus around a custom control (view).
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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