Re: Creating a clickable (web-browser-like) URL control
Re: Creating a clickable (web-browser-like) URL control
- Subject: Re: Creating a clickable (web-browser-like) URL control
- From: Sean McBride <email@hidden>
- Date: Mon, 5 Aug 2002 11:03:58 -0400
John Anderson (email@hidden) wrote:
>
The best way would be to create an NSTextView and populate its contents
>
dynamically.
>
>
(snip)
>
>
That should display a clickable link.
It does thanks! But there are some visual problems:
1) The background. After playing around with IB a lot, I managed to drag
the border from a default NSTextField to my NSTextView. In IB it looks
perfect but when I actually run my pref pane the striped background of my
NSTextView does not line up with the window's striped background. :(
2) The link is only clickable if the 'selectable' attribute is on,
causing an insertion point cursor to appear on rollover.
>
I think there's even a way to
>
make NSTextView display the finger cursor over the link. Don't remember
>
off-hand.
This would solve #2. I'll see if I can find an apropriate method...
But problem #1 is the real killer, any ideas?
Thanks again!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.