• 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: Problem with IBOutlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with IBOutlet


  • Subject: Re: Problem with IBOutlet
  • From: Art Isbell <email@hidden>
  • Date: Thu, 5 Jul 2001 13:07:44 -1000

On Thursday, July 5, 2001, at 10:57 AM, Quentin Mathi wrote:

Le jeudi 5 juillet 2001, ` 07:50, Scott Herz a icrit :

Should work. You're sure the connection is made from MyTableView to the button? If you select the tableview and then bring up the connection inspector, does the outlet have a dot next to it?

I'm sure the connection is made in IB.

NSTableView is only the view that contains the columns. It is usually displayed in a NSScrollView. NSTableHeaderView displays the headers. So it's easy to connect the wrong view. And it may be easy to click on a view other than a NSTableView in a running app in which case your mouseDown: method won't be invoked. You indicate that mouseDown: is invoked but your button is nil. That could be explained if the connection were from something other than a NSTableView to your button. All of this makes me question the wisdom of this design...

Art Isbell
Apple iServices Technical Support
http://www.apple.com/iservices/webobjectssupport/
+1-808-591-0836


  • Follow-Ups:
    • Re: Problem with IBOutlet
      • From: Quentin Mathé <email@hidden>
    • Re: Problem with IBOutlet
      • From: Jonathan Hendry <email@hidden>
References: 
 >Re: Problem with IBOutlet (From: Quentin Mathé <email@hidden>)

  • Prev by Date: Re: [NEWBIE] NSAttributedString
  • Next by Date: Re: Monitoring a shell process.
  • Previous by thread: Re: Problem with IBOutlet
  • Next by thread: Re: Problem with IBOutlet
  • Index(es):
    • Date
    • Thread