| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I've had the same problem, I can't get the cell to be the sender. Try
something like this (all of this is of course reproducable in Obj. C):
-- Sailor Quasar, High Codemaster of the Web, scourge of systemsI'm trying to get a method to distinguish between several-----------------------
NSButtonCells in
an NSMatrix. The problem I'm having is that [sender tag] is giving the
tag
value of the Matrix rather than of the button that was clicked. I've
tried
wiring the action to both the Matrix and the ButtonCell (though not at
the
same time) however the result is still the same. Is there a better
(read:
working) means of determining which button was pressed?
Cheers,
John Lombardo
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
David Vernon
Computer Systems Officer
School of Information Technology and Computer Science
University of Wollongong
Northfields Avenue,
Wollongong, NSW
Australia
Phone: +61 2 42215669
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Re: When the sender is an NSMatrix... (From: David Vernon <email@hidden>) |
| 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.