• 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: Non user-selectable NSMixedState
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non user-selectable NSMixedState


  • Subject: Re: Non user-selectable NSMixedState
  • From: Dustin Voss <email@hidden>
  • Date: Tue, 17 Sep 2002 21:25:25 -0700

The UIs I've seen handle this sort of situation like so: the user check-marks the item, means "make all invisible", the user un-check-marks the item, means "make all visible", the user selects the mixed state again, means "oops, don't change anything". But I imagine that can be tricky to code, and I can see usability arguments on both sides. I'll be running into this problem myself shortly.

On Tuesday, September 17, 2002, at 06:10 PM, Clark Mueller wrote:

Kind of a hassle to do that, but it's not hard, so I won't complain. :-) It is as intuitive as it would be. What I am using them for is to view the state of the visibility flag on multiple files. I use NSOnState if they are all invisible, NSOffState if they are all visible, and NSMixedState if some are, and some are not. The user can then change the state of the files. I cannot change it to half-on, half-of (i.e. NSMixedState), just all invisible, or all visible. Does this make sense as an intuitive interface?

Thanks,

-c
email@hidden

On Tuesday, September 17, 2002, at 06:47 PM, Ondra Cada wrote:

On Wednesday, September 18, 2002, at 02:31 , Clark Mueller wrote:

I have several check boxes. I need to configure them to be any of the three states (on, off, mixed). However, I only want the user to be able to select on and off. I am able to setAllowsMixedState to YES, and then I can set them to what I need. However, if I then change this back to NO so that the user can only select on or off, then it strips any mixed state that I may have set. Is there a way that I can have the user select from just the two, while programatically still being allowed to set any state?

Are you quite sure such a GUI is still reasonably intuitive?

Anyroad; the only colution I see offhand would be to link those buttons to some action, which would check the state just selected and immediately change it if it is the "forbidden" one.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Non user-selectable NSMixedState
      • From: Clark Mueller <email@hidden>
References: 
 >Re: Non user-selectable NSMixedState (From: Clark Mueller <email@hidden>)

  • Prev by Date: ANN: Learning Cocoa with Objective-C, 2nd Edition
  • Next by Date: attributesAtIndex:effectiveRange: vs the insertion point at end of text
  • Previous by thread: Re: Non user-selectable NSMixedState
  • Next by thread: Re: Non user-selectable NSMixedState
  • Index(es):
    • Date
    • Thread