Re: NSPopupButton with disabled items
Re: NSPopupButton with disabled items
- Subject: Re: NSPopupButton with disabled items
- From: Harilaos Skiadas <email@hidden>
- Date: Tue, 9 Nov 2004 12:13:36 -0800 (PST)
Peter
>Dear list!
>
>Is it possible to build a NSPopupButton
programatically with some of
>the
>items grayed out (disabled)? Let's say I have 10
items, and I want item
>4
>and 7 to be disabled.
>
>Best regards Peter
I haven't personally tried it, because my approach
would be to not allow those items in the menu in the
first place, but I would expect that calling
NSMenuItem's setEnabled:FALSE on those items should do
the trick.
Haris
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden