• 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
several clickable links in a NSCell of a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

several clickable links in a NSCell of a NSTableView


  • Subject: several clickable links in a NSCell of a NSTableView
  • From: devmaillists <email@hidden>
  • Date: Thu, 15 Dec 2005 16:32:32 +0100

Hello List,

I would like to have some text with several clickable links in a NSTableView´s NSCell.

However, while I have done some NSTextFieldCell subclassing, this does not quite seem to cut it, and I am somewhat confused. Hopefully, my posting is still understandable.

For simplicity, imagine each cell is to hold several lines of text (NSAttributedString) and zero to four links (not to URLs, but I guess that does not matter). Several ideas come to mind:

- Continue subclassing NSTextFieldCell, find out the rectangles of the links and react to clicks accordingly.
- Somehow create an NSTextView for the contents of the cell. That seems like overkill.

Could someone help clear my brain a bit and set me on the right strategy?

Thanks

Alex

_______________________________________________
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
  • Prev by Date: CoreData and document loading
  • Next by Date: Re: Refresh bug in AppKit on OS X 10.4.x?
  • Previous by thread: Re: CoreData and document loading
  • Next by thread: setProcessName: shows no effect
  • Index(es):
    • Date
    • Thread