Re: tables cells and views
Re: tables cells and views
- Subject: Re: tables cells and views
- From: Brian Webster <email@hidden>
- Date: Mon, 29 Apr 2002 09:23:57 -0500
On Sunday, April 28, 2002, at 02:49 PM, cocoa-dev-
email@hidden wrote:
You mentioned wanting buttons within each cell, so it's not just a
matter of rendering. You also want the buttons to behave properly in
response to clicks and drags.
exaclty, and I'd have to write this myself.... ;-(
Actually, I've done the cell-display-view thing myself, and
there isn't any additional writing you have to do to handle
clicks. If you insert your cell's view (e.g. a button) inside
your NSMatrix, any clicks that happen on the button will be
automatically sent to the button and it will just do its thing.
All you have to do is make sure to set the action/target of the
button to what you want.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.