| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
De : kubernan <email@hidden>
Date : Jeu 19 juil 2001 09:36:54 Europe/Paris
@ : Paul Mix <email@hidden>
Cc : email@hidden
Objet : (same pb) Re: Double-clicking NSOutlineView
Hello,
I have the same problem with NSTableView. Two days on setDoubleAction without
solution.
I tried lots of thing, read all the omnigroup mailing list archive, try to
read dark sample codes...and nothing work for me.
Heeeeeelp !!
Le jeudi 19 juillet 2001, ` 08:54, Paul Mix a icrit :
Bit of a mystery here:
I have an NSOutlineView that absolutely refuses to send an action to its delegate when it's double clicked. In the delegate's -awakeFromNib, I call:
[myOutlineView setDoubleAction:@selector(userDoubleClickedOutlineView:)];
myOutlineView is correctly pointing to the OLV within -awakeFromNib (the method also creates a custom column type for the OLV and registers it for drag types). However, the delegate's userDoubleClickedOutlineView: simply doesn't get called on a double-click. Everything else about the two classes seem to be wired correctly, and the delegate implements all other required OLV delegate methods.
Note: the OLV is in the view of a drawer, and the controller acting as the OLV's delegate/data-source inherits directly from NSObject. The same controller object is also the delegate of the drawer itself (if that matters).
I did make sure that none of the OLV columns are editable.
Any suggestions would be appreciated...
TIA,
- Paul M
-- _______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.