• 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: Tri-state Check box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Tri-state Check box
      • From: Kyle Sluder <email@hidden>
References: 
 >Tri-state Check box (From: Arun <email@hidden>)
 >Re: Tri-state Check box (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Converting NSString to C++ std::string
  • Next by Date: Re: Key-Value Observing: light-weight or heavy-weight?
  • Previous by thread: Re: Tri-state Check box
  • Next by thread: Re: Tri-state Check box
  • Index(es):
    • Date
    • Thread