Re: Problem with IBOutlet
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