Skip navigation.
 
mlRe: removeFromSuperview does not work in a Preference Pane?
FROM : Finlay Dobbie
DATE : Tue Apr 05 03:56:56 2005

On Apr 4, 2005 5:27 PM, Dave Camp <<email_removed>> 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

Related mailsAuthorDate
mlremoveFromSuperview does not work in a Preference Pane? Dave Camp Apr 4, 18:27
mlRe: removeFromSuperview does not work in a Preference Pane? Finlay Dobbie Apr 5, 03:56
mlRe: removeFromSuperview does not work in a Preference Pane? Dave Camp Apr 5, 17:50