----- Original Message -----
From: "Jerry Krinock" <je...@ieee.org>
To: "Cocoa Developers" <cocoa-dev@lists.apple.com>
Sent: Friday, October 09, 2009 11:20 AM
Subject: Re: How to set checkbox state in TableView columnheader
Congratulations, it looks like you got the hard parts!
NSButtonCell inherits from NSActionCell and NSCell. (See 2nd line of the
NSButtonCell documentation). Click the links. Now, try -[NSCell
setState:], which will probably work, and -[NSActionCell
setObjectValue:], which might work.
Hi, Jerry,
Thanks for your advice.
I tried [cell setState:NSOnState] & [cell setObjectValue:[NSNumber
numberWithInt:1]], but still checkbox is in off state.
Echo
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com