Re: Tri-state Check box
Re: Tri-state Check box
- Subject: Re: Tri-state Check box
- From: Arun <email@hidden>
- Date: Fri, 8 May 2009 22:39:15 +0530
In my app, the check box is in the table column and i have binded the value
of table column to a BOOL variable of my model class.
In this case how do i set the Mixed State to a particulat item in the table
column.
Thanks
Arun
On Fri, May 8, 2009 at 1:05 AM, Eric Gorr <email@hidden> wrote:
> If I understand correctly, when the user changes the state, simply do:
>
> [myCheckBox setAllowsMixedState:NO];
>
>
>
>
> On May 7, 2009, at 1:36 PM, Arun wrote:
>
> Hi All,
>>
>> In my application i use check box to represent enable / disable states.
>> And
>> user is allowed to change the states from enable to disable and vice
>> versa.
>> Is it possible to represent one more state say "modified" using the same
>> check box? I know if i set the state of the check box to mixed i can
>> represent more than 2 states in check box. But My requirement is that, i
>> should be able to represent more than two state bu when user changes the
>> state, it should be either enable/disable and never to select modified
>> state. Is it possible to achieve this in check box?
>>
>> Any idea?
>>
>> Thanks
>> Arun KA
>> _______________________________________________
>>
>> 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
>>
>
>
_______________________________________________
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