| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hello all,
My question is about the difference between NSActionCell and
NSTextFieldCell.
I have the following code :
// For the ActionCell...
[theActionCell setTarget: self];
[theActionCell setAction: @selector(clickMethod:)];
// For the TextFieldCell...
[theTFCell set Target: self];
[theTFCell setAction: @selector(clickMethod:)];
In the first case, no problem. When the user clicks on the cell, my
"clickMethod" is called.
But, in the second case, the method isn't called.
Why ??
The NSTextFieldCell inherits from NSActionCell, doesn't it ?
So, why I don't receive this event ?
| References: | |
| >NSActionCell and NSTextFieldCell (From: "Yves Peneveyre" <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.