Once again: Clickable hyperlink in NSTableView
Once again: Clickable hyperlink in NSTableView
- Subject: Once again: Clickable hyperlink in NSTableView
- From: "Johannes Fahrenkrug" <email@hidden>
- Date: Mon, 4 Feb 2008 12:45:28 +0100
Dear fellow developers,
I'm pretty new to both Cocoa programming and this list. I know the
following questing has been both asked and answered before, but I'm
still stuck.
I need to have a clickable hyperlink in one of my NSTableView columns.
I get the NSAttributedString to display nicely (blue and underlined),
but I can't click on it.
It seems as if my click never "reaches" the hyperlink.
I was - hopefully - pointed into the right direction here:
http://www.cocoabuilder.com/archive/message/cocoa/2006/3/16/158845
I tried the obove sample code in my
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)row
datasource method. Like I said: it's working as far as it's showing up
as a blue underlined string, just not clickable :(
My TableCell is of the type NSTextFieldCell.
Any help would be very much appreciated!
- Johannes
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden