NSOutlineView Double Action
NSOutlineView Double Action
- Subject: NSOutlineView Double Action
- From: Seth Willits <email@hidden>
- Date: Thu, 20 Jan 2005 23:36:50 -0800
I have an NSOutlineView subclass which is its own data source. When
initialized I set its double action using the code below and after that
it loads the first set of data. The double action works well with this
set of data data. However, when an item is expanded in the tree, rows
beyond the total number of rows before the item was expanded don't
respond to double clicks at all. For example, if the list originally
has 10 rows, all expandable, and I expand row 5 which has another 10
items in it, rows 11-15 are not clickable while rows 1-10 are. Any
ideas why this is?
// Set Double Click Action
[self setTarget:self];
[self setDoubleAction:@selector(doubleClick:)];
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"It's okay. We can't all have three digit IQ levels."
------------------------------------------------------------------------
---
_______________________________________________
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