Skip navigation.
 
mlRe: removeFromSuperview does not work in a Preference Pane?
FROM : Dave Camp
DATE : Tue Apr 05 17:50:41 2005

On Apr 4, 2005, at 6:56 PM, Finlay Dobbie wrote:

> 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.


Doh!

<hides face in shame>

Dave
---
It's not denial. I'm just very particular about the reality I choose to
accept.  -Calvin

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