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: Finlay Dobbie <email@hidden>
- Date: Tue, 5 Apr 2005 02:56:56 +0100
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.
-- Finlay
_______________________________________________
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