Re: How to get text coordinates in a NSTableView
Re: How to get text coordinates in a NSTableView
- Subject: Re: How to get text coordinates in a NSTableView
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 21 Jan 2005 04:17:18 +0100
At 8:54 Uhr +0700 21.01.2005, Tan Dung Ho wrote:
Does anybody know how to get text coordinates in a NSTableView? I need
the coordinates of the characters to do somethings.
Thanks in advance.
That's not how it's done. The cells are responsible for how the
content looks. All NSTableView knows is it's drawing a cell. You'll
probably want to write your own NSCell subclass instead, and give
that some code that does what you want (e.g. for clicking or
whatever).
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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