Re: Non user-selectable NSMixedState
Re: Non user-selectable NSMixedState
- Subject: Re: Non user-selectable NSMixedState
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 18 Sep 2002 05:44:32 -0400
on 02-09-17 9:10 PM, Clark Mueller at email@hidden 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?
This is exactly what I did with a "Select All" checkbox in Vermont Recipes.
If the user's click makes it NSMixedState, just programmatically move it one
more step in the on-off-mixed cycle to NSOnState. You'll find the code in
Recipe 2 of Vermont Recipes at
<
http://www.stepwise.com/Articles/VermontRecipes>.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.