Small problem with NSBrowser
Small problem with NSBrowser
- Subject: Small problem with NSBrowser
- From: Ludovic Marcotte <email@hidden>
- Date: Sat, 26 Jan 2002 12:33:34 -0500 (EST)
Hi,
I've a NSBrowser object that displays correctly the data since the
delegate implements the following methods in my controller's class:
- (int) browser: (NSBrowser *) sender
numberOfRowsInColumn: (int) column;
- (void) browser: (NSBrowser *) sender
willDisplayCell: (id) cell
atRow: (int) row
column: (int) column;
- (NSString *) browser: (NSBrowser *) sender
titleOfColumn: (int) column;
Everything works fine. However, if I implement:
- (BOOL) browser: (NSBrowser *) sender
selectRow: (int) row
inColumn: (int) column;
this method is never called while it should when the user clicks on a
NSBrowserCell.
Anyone knows why? I'm using Mac OS X 10.1.2 with the latest development
tools.
Thanks a lot,
Ludovic
--
Live as if you were to die tomorrow.
Learn as if you were to live forever.
- Gandhi