Hi everyone,
I'm using Brandon's excellent BWToolkit in a project of mine right
now. I'm specifically using the BWTransparentTableView and
BWTransparentCheckBoxCell classes. I'd like to customize the
CheckBoxCell to fulfill the following requirements:
1. Only invoke the target's action when the user single-clicks the
actual checkbox.
2. Invoke the target's action when the user double-clicks anywhere in
the cell.
I've tried subclassing BWTransparentCheckBoxCell and implementing
stopTracking:at:inView:mouseIsUp: to invoke the target's action
appropriately, but this method is never getting executed. I've tried
implementing the tableView's delegate method
(tableView:shouldTrackCell:...), to no effect. I've toyed with the
possibility of implementing a custom
trackMouse:inRect:ofView:untilMouseUp:, but that seems hopelessly
complex.
Any ideas on why my tracking method isn't getting called, or a better
approach I could be taking to this?
Thanks!
Dave DeLong
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]