• 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
doubleAction problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doubleAction problems


  • Subject: doubleAction problems
  • From: Danny Swarzman <email@hidden>
  • Date: Sat, 11 Dec 2004 16:39:50 -0800

I have a NSTableView, MessageList.

In awakeFromNib I have:

[MessageList setDoubleAction:@selector(DoubleClickInMessageList)];

as well as:

NSTableColumn *adressColumn = [MessageList tableColumnWithIdentifier:@"Address"];
[adressColumn setEditable:NO];
NSTableColumn *subjectColumn = [MessageList tableColumnWithIdentifier:@"Subject"];
[adressColumn setEditable:NO];
NSTableColumn *dateColumn = [MessageList tableColumnWithIdentifier:@"Date"];
[adressColumn setEditable:NO];

and the method in the target is:

- (id)sender

But that method isn't called.

In my regular click method, I have:

NSTableColumn *adressColumn = [MessageList tableColumnWithIdentifier:@"Address"];
if ( [adressColumn isEditable] )
[self Bugln:@"Address is editable"];
else
[self Bugln:@"Address is not editable"];

Where Bugln is my method to display a message in the window.

I verify that the column is supposed to be not editable.

Any ideas?

-Danny
 _______________________________________________
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

  • Follow-Ups:
    • Re: doubleAction problems
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Dates and time zones
  • Next by Date: Re: doubleAction problems
  • Previous by thread: Re: Which documents
  • Next by thread: Re: doubleAction problems
  • Index(es):
    • Date
    • Thread