• 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: Hidden NSButtonCells in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hidden NSButtonCells in a tableview


  • Subject: Re: Hidden NSButtonCells in a tableview
  • From: Jim Correia <email@hidden>
  • Date: Thu, 17 Aug 2006 09:32:03 -0400

On Aug 17, 2006, at 9:21 AM, Fredrik Olsson wrote:

I use tableView:willDisplayCell:... to change the buttons cell's title. The button cells are checkboxes. For buttons cells without a title, I want to hide the checkbox as well.

setHidden: is not available, so I have tried to change the type, and bezelStyle, but no luck. Do I really need to override drawInFrame?

You should be able to solve the problem by using a custom table column and returning an appropriate cell from -dataCellForRow:.


Jim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Hidden NSButtonCells in a tableview (From: Fredrik Olsson <email@hidden>)

  • Prev by Date: Hidden NSButtonCells in a tableview
  • Next by Date: Re: Hidden NSButtonCells in a tableview
  • Previous by thread: Hidden NSButtonCells in a tableview
  • Next by thread: Re: Hidden NSButtonCells in a tableview
  • Index(es):
    • Date
    • Thread