• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tables cells and views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: ioctl
  • Next by Date: Re: C'mon Apple! DECIDE!
  • Previous by thread: Re: tables cells and views
  • Next by thread: Announcing: Building Cocoa Applications: A Stemp By Step Guide
  • Index(es):
    • Date
    • Thread