Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mulit-state buttons



> OK I'll have a look at this. I was hoping that someone had
> already implemented such a class. I assume a button cell could also be used
> in a table?

  You'd know the answer to that is yes if you'd go ahead and read the
documentation I referenced.

> @Andreas - you have a agood point. The ideal widget would also have a
> drop-down menu with items for each state. This would give the best of both
> worlds. Not sure how I could do that with an NSButtonCell however.

  Consider an NSSegmentedControl. All possible 'states' are visible in
one control (showing they belong together) and a single click will get
you the correct state.

--
I.S.
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Mulit-state buttons (From: "I. Savant" <email@hidden>)
 >Re: Mulit-state buttons (From: Ari Benzane <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.