• 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
RE: [Q] How to frame NSTableView and NSOutlineView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Q] How to frame NSTableView and NSOutlineView?


  • Subject: RE: [Q] How to frame NSTableView and NSOutlineView?
  • From: "Cristian Savu" <email@hidden>
  • Date: Wed, 24 Jul 2002 09:06:03 +0300

> Now, one good answer leads to yet another question (sorry) :-)
>
> Do you know what controls the focus ring's color?
> Is it a user-controlled preference?
> Or can I control that somehow?
>

I think the focus ring gets his colour from system. It would be nice to
know how does that. There must be a function or something for this. Anyone
knows ?

If you change the preffered OS X colour (Aqua or Graphite) the focus ring
colour will change.

But, if you want, you can write your own MJFocusScrollView class :) capable
to
change the focusRing colour.
It is easy!

if (shouldDrawFocusRing)
{
//draw custom ring using NSBezierPath (or whatever you want)
}
Regards,
Cristian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Retain/release objects in an array...
  • Next by Date: what does signal 10 (SIGBUS) mean?
  • Previous by thread: Re: [Q] How to frame NSTableView and NSOutlineView?
  • Next by thread: NSString stringWithContentsOfURL
  • Index(es):
    • Date
    • Thread