Button NSTextAttachmentCell
Button NSTextAttachmentCell
- Subject: Button NSTextAttachmentCell
- From: Ben Lachman <email@hidden>
- Date: Thu, 19 Apr 2007 17:42:15 -0400
Has anyone run into a successful implementation of a button using a
NSTextAttachmentCell (via the protocol or subclassing, I don't
care). I've coded up one that mostly works. It snags clicks and
sends them to the receiver, however I can't get drawing to work
correctly. Specifically, drawing during event tracking only seems
to work once. The first time the user clicks the button it will
highlight and then go back to normal, but on subsequent clicks it
won't, even though the cell's drawWithFrame: is being called and the
delegate is getting the clickedOnCell: message.
Any ideas?
->Ben
--
"Don't sweat it -- it's not real life. It's only ones and zeroes."
-- Gene Spafford
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden