• 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
Re: How to get text coordinates in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to get text coordinates in a NSTableView (From: Tan Dung Ho <email@hidden>)

  • Prev by Date: Re: Loading images from subfolder of Resources
  • Next by Date: Re: Loading images from subfolder of Resources
  • Previous by thread: How to get text coordinates in a NSTableView
  • Next by thread: Using a NScomboBoxCell in a NSTableView
  • Index(es):
    • Date
    • Thread