clicking in NSCells
clicking in NSCells
- Subject: clicking in NSCells
- From: Robert Vasvari <email@hidden>
- Date: Fri, 22 Feb 2002 17:35:41 -0800 (PST)
Here is one for the Appkit gurus... i have a text cell
in a tableview. It is filled halfway with text. When
the user clicks in it, i need to know if the click
happened in the text or the empty part.
The only way i can think of doing this is to get the
font, use getWidthOf:mytext to figure out the length
of the actual text in the cell, then compare that to
the click coordinates. Is there a better way to do
this?
R
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
_______________________________________________
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.