• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: removeFromSuperview does not work in a Preference Pane?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >removeFromSuperview does not work in a Preference Pane? (From: Dave Camp <email@hidden>)
 >Re: removeFromSuperview does not work in a Preference Pane? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: ADC Core Data article
  • Next by Date: Re: PreferencePane plugin: awakeFromNib gets called twice
  • Previous by thread: Re: removeFromSuperview does not work in a Preference Pane?
  • Next by thread: A Question about radio buttons...
  • Index(es):
    • Date
    • Thread