• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOutlineView Double Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSOutlineView Double Action
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Why do "loose" nibs take precedence over nibs in .lproj?
  • Next by Date: Re: Cocoa global hotkey
  • Previous by thread: Re: interface builder renaming my file
  • Next by thread: Re: NSOutlineView Double Action
  • Index(es):
    • Date
    • Thread