Tooltips in NSTableView
Tooltips in NSTableView
- Subject: Tooltips in NSTableView
- From: "G. 'Andrew' Tapolow" <email@hidden>
- Date: Mon, 28 Jan 2002 20:34:43 -0800
Hello,
I'm trying to place tool tips on items inside one column for an NSTableView.
My delegate has messages for:
tableView: willDisplayCell: forTableColumn: row:
tableView:objectValueForTableColumn:row:
Since the first got me a cell, I tried :
if ([[tableColumn identifier] isEqualToString:@"Name"]){
NSString* theToolTip = [NSString stringWithFormat:@"Name
column, row=%i", row];
[[cell controlView] setToolTip:theToolTip];
This doesn't seem to work
I've searched through the archives and have found nothing that gives
information on this.
Can anyone give any pointers this way?
Thanks
-Greg
--