Re: NSBox
Re: NSBox
- Subject: Re: NSBox
- From: Daniel Jalkut <email@hidden>
- Date: Tue, 20 Dec 2005 22:08:04 -0500
Hi Alex - have you tried setContentView? A box behaves very much like
a window, with a single contentview as its subview. It's the content
view that then contains all the custom items.
Daniel
On Dec 20, 2005, at 9:58 PM, alex gordillo wrote:
I'm having trouble setting a custom view inside of an NSBox. I've
used both addSubview: and replaceSubview:with: methods and neither
seem to work. I know that the NSBox creates an a new NSView object
when it is created and that is where I tried to use the
replaceSubview:with: method. I'm getting no errors but the NSBox
appears blank when I run my app. What am I missing? Do I need to
call some other method(s) before or after those two methods? Any
help will be much appreciated.
_______________________________________________
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
References: | |
| >NSBox (From: alex gordillo <email@hidden>) |