• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
custom focus ring ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: custom focus ring ?
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Initialize and add Combo Box programmatically
  • Next by Date: Re: Defining Accessors in a Custom Palette for a NSArray for Cocoa Bindings
  • Previous by thread: NSTableView addTableColumn
  • Next by thread: Re: custom focus ring ?
  • Index(es):
    • Date
    • Thread