• 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: NSBrowser background color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser background color


  • Subject: Re: NSBrowser background color
  • From: Scott Thompson <email@hidden>
  • Date: Wed, 12 Sep 2007 13:22:39 -0500


On Sep 12, 2007, at 1:15 PM, Cathy Shive wrote:

Hi,

I'm trying to get my NSBrowser subclass to draw with a grey background
instead of the default white background.   From what I understand, I
need to set the background color of the browser's NSScrollView but the
API doesn't seem to give me access to that object.  Can anyone help me
with this?

NSBrowser is a subclass of NSView and NSView defines the method:

- (NSScrollView *)enclosingScrollView;

Does that help?

Scott

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSBrowser background color
      • From: "Cathy Shive" <email@hidden>
References: 
 >NSBrowser background color (From: "Cathy Shive" <email@hidden>)

  • Prev by Date: NSBrowser background color
  • Next by Date: Re: CoreData NSPersistentDocument Tutorial question
  • Previous by thread: NSBrowser background color
  • Next by thread: Re: NSBrowser background color
  • Index(es):
    • Date
    • Thread