Re: NSBrowser background color
Re: NSBrowser background color
- Subject: Re: NSBrowser background color
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 12 Sep 2007 12:45:59 -0700
On 9/12/07, Cathy Shive <email@hidden> wrote:
> Actually, that method is returning nothing!
>
> // I'm making the browser:
> mFileBrowser = [[BWBrowser alloc] initWithFrame:aFrame];
>
> // configuring it
> [mFileBrowser setMaxVisibleColumns:4];
> [mFileBrowser setHasHorizontalScroller:YES];
> [mFileBrowser setDelegate:self];
>
> // and asking for the scroll view
> NSScrollView * aScrollView = [mFileBrowser enclosingScrollView];
>
> and after that - aScrollView is 0x0
>
> Is there anything obvious that I'm doing wrong here?
NSBrowser doesn't live inside of an NSScrollView so what was suggested
wasn't correct (unless you put it inside of one of course).
Anyway I have never tried to do what you are attempting so I cannot be
of any "further help".
-Shawn
_______________________________________________
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