• 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: Bindings & Checkbox in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings & Checkbox in NSTableView


  • Subject: Re: Bindings & Checkbox in NSTableView
  • From: "Hamish Allan" <email@hidden>
  • Date: Tue, 6 May 2008 21:17:17 +0100

On Tue, May 6, 2008 at 8:31 PM, Steven Huey <email@hidden> wrote:

>  I set the table column to use a checkbox using:
>
>     NSButtonCell *cell = [[NSButtonCell alloc] init];
>     [cell setButtonType:NSSwitchButton];
>     [cell setImagePosition:NSImageOnly];
>     [cell setControlSize:NSSmallControlSize];
>     [[myTable tableColumnWithIdentifier:@"active"] setDataCell:cell];

Before further examining why your existing approach is failing, you
might first of all try setting up the table column to use a checkbox
in Interface Builder rather than in code (drag a check box cell from
the palette over the existing text cell of the table column).

Hamish
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bindings & Checkbox in NSTableView [SOLVED]
      • From: Steven Huey <email@hidden>
References: 
 >Bindings & Checkbox in NSTableView (From: Steven Huey <email@hidden>)

  • Prev by Date: bindings and mutliple NIBs
  • Next by Date: Re: bindings and mutliple NIBs
  • Previous by thread: Bindings & Checkbox in NSTableView
  • Next by thread: Re: Bindings & Checkbox in NSTableView [SOLVED]
  • Index(es):
    • Date
    • Thread