• 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: NSTableView not letting me double-click rows always?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView not letting me double-click rows always?


  • Subject: Re: NSTableView not letting me double-click rows always?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Sat, 20 Aug 2005 16:45:25 +0100

When I make the column's [editable] state to be true, I don't get doubleClick events sent! However, the rows text do get edited, as expected, as long as the row is editable.

If I set the column's [editable] state to false, I do get doubleClick events! However, then I can't edit the text by double- clicking it.

Is there some kind of work around here?

By work around, I meant some kind of graceful work around.

I am sure I can hack up a work around, but it won't be particularly nice. I'd probably do something like make the column editable, and return true for "isEditable" for all the cells. But when the cell gets edited, I check if it's really editable, and if not, then I'll send a doubleclick event...

Something a bit lame like that I'd probably do. But then I haven't even tried that approach, maybe there'd be an unexpected problem there, too.
_______________________________________________
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: 
 >NSTableView not letting me double-click rows always? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: NSTableView not letting me double-click rows always?
  • Next by Date: Re: [UPDATE] Lex/Yacc and Cocoa
  • Previous by thread: NSTableView not letting me double-click rows always?
  • Next by thread: Re: NSTableView not letting me double-click rows always?
  • Index(es):
    • Date
    • Thread