Re: NSTableView tooltips
Re: NSTableView tooltips
- Subject: Re: NSTableView tooltips
- From: Graham <email@hidden>
- Date: Thu, 21 Feb 2008 11:19:55 +1100
Not sure if this is the only way, but you can implement the delegate
method:
- (NSString *)tableView:(NSTableView *)aTableView toolTipForCell:
(NSCell *)aCell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *)
aTableColumn row:(int)row mouseLocation:(NSPoint)mouseLocation
-----
S.O.S.
On 21/02/2008, at 11:04 AM, Quincey Morris wrote:
Anyone have advice about creating tooltips for a NSTableView and
its parts?
I laboriously created tooltips in IB3.0 for the table view, the
header "row", and each column, and saw the following behavior:
-- Hovering over the body of a column just gave the tooltip for the
whole table.
-- Hovering over a header gave the tooltip for the column below it.
-- Nothing produced the tooltip set up for the header row.
Is there any straightforward way to get this to work right? (I'm
trying to get a header tooltip over headers and column tooltips
over the body of the columns.)
BTW, deleting the table tooltip didn't "reveal" the column tooltips
underneath. Instead, no tooltip displayed anywhere in the body of
the table.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40ictinternational.com.au
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden