> I think I may have got this to work, so here goes:
>
> The data cell for the table column displaying the hyperlink is now a custom
> NSTextFieldCell with the following implementation over-ridden:
>
> - (NSUInteger)hitTestForEvent: (NSEvent *)event
> i
string's bounds, but at least the hyperlink actually opens now.
Thanks for your help!
From: cocoa-dev-bounces+david.doyle=sophos@lists.apple.com
[cocoa-dev-bounces+david.doyle=sophos@lists.apple.com] On Behalf Of Jerry
Krinock [je...@ieee.org]
Sent: 11 January
This might help you:
http://developer.apple.com/mac/library/releasenotes/cocoa/AppKitOlderNotes.html#NSTableView
Note especially the section titled "NSTableView/NSOutlineView - Single click to
edit"
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
Rick Mann wrote:
I may have found what I needed here:
http://developer.apple.com/qa/qa2006/qa1487.html
That QA omits the possibility of using NSCursorAttributeName to make the
cursor change when you mouse over the link. However, to do that you
need NSTextView, not NSTextField.
--
James
I may have found what I needed here:
http://developer.apple.com/qa/qa2006/qa1487.html
On Jul 30, 2009, at 03:29:19, Rick Mann wrote:
Hmm. After looking at the sample code suggested by the docs for
NSAttributedString, I'm left at square one. Most of the samples
required upgrading their Xcod
Hmm. After looking at the sample code suggested by the docs for
NSAttributedString, I'm left at square one. Most of the samples
required upgrading their Xcode projects. Some crash when run. Others
get errors compiling. One even dumps a stack trace to the error log
when it compiles.
None t
Great, thank you!
On Jul 30, 2009, at 03:03:13, Тимофей Даньшин wrote:
Yes, it is possible. See the docs for NSAttributedString for
details. There was also an example of how to make hyperlinks, the
link to that sample code, i suppose, must be there, too.
Best regards,
Timofey
On Jul 30, 2
Yes, it is possible. See the docs for NSAttributedString for details.
There was also an example of how to make hyperlinks, the link to that
sample code, i suppose, must be there, too.
Best regards,
Timofey
On Jul 30, 2009, at 1:53 PM, Rick Mann wrote:
I need to render short sentences in my
Thank you both for this. Much appreciated.
On 9 Jan 2009, at 03:15, Sean McBride wrote:
Matthew Morton (mattmor...@me.com) on 2009-01-08 7:02 AM said:
have bound the value of the NSTextField to an NSAttributedString in a
custom class and set attributes for NSLinkAtributeName,
NSForegroundCo
Matthew Morton (mattmor...@me.com) on 2009-01-08 7:02 AM said:
>have bound the value of the NSTextField to an NSAttributedString in a
>custom class and set attributes for NSLinkAtributeName,
>NSForegroundColorAtributeName, and NSUnderlineStyleAttributeName.
If you're interested, you can get the c
Hi Matt,
You need to use an NSTextView here rather than an NSTextField. The
behavior you are seeing is because an NSTextField is not 'active'
until clicked upon, and then it gets the window's field editor (which
is a shared NSTextView used by all fields on the window), and places
that vie
11 matches
Mail list logo