Re: removeFromSuperview does not work in a Preference Pane?
Re: removeFromSuperview does not work in a Preference Pane?
- Subject: Re: removeFromSuperview does not work in a Preference Pane?
- From: Dave Camp <email@hidden>
- Date: Tue, 5 Apr 2005 08:50:41 -0700
On Apr 4, 2005, at 6:56 PM, Finlay Dobbie wrote:
On Apr 4, 2005 5:27 PM, Dave Camp <email@hidden> wrote:
[tableView retain];
[tableView removeFromSuperview];
I've done this in applications and it works fine. When I do this in my
pref pane the table view appears to erase to white (the interior and
column headers disappear),
The table view is enclosed in an NSScrollView. It sounds like you're
just removing the table view from its enclosing scroll view, when what
you really want to do is remove the scroll view from the window's
content view.
Doh!
<hides face in shame>
Dave
---
It's not denial. I'm just very particular about the reality I choose to
accept. -Calvin
_______________________________________________
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