• 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: Disabling NSToolbarItem label for view item in text only mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling NSToolbarItem label for view item in text only mode


  • Subject: Re: Disabling NSToolbarItem label for view item in text only mode
  • From: The Karl Adam <email@hidden>
  • Date: Sat, 25 Dec 2004 18:55:33 -0500

Take away it's menu. If it doesn't have a menu it won't validate. I
also believe there is a way to delegate the item validation, but
removing the menu is faster and it came to me first.

-Karl
On Sat, 25 Dec 2004 15:28:44 -0800, Mark Alldritt
<email@hidden> wrote:
> Hi,
>
> I have an NSToolbarItem that displays a custom NSView.  My toolbar item also
> has a menu representation for use in overflow and text-only toolbar modes.
>
> The problem is that when I call NSToolbarItem's setEnabled:NO while the
> toolbar is in text only mode, the item's label is *not* disabled.  I've
> tried disabling the menu representation's menu item, but that has no effect.
>
> How do I get my toolbar item's text mode label to disable?
>
> Cheers
> -Mark
>
> ---------------------------------------------------------------------
> Mark Alldritt                         Late Night Software Ltd.
> Phone: 250-380-1725                   333 Moss Street
> FAX:   250-383-3204                   Victoria, B.C.
> WEB:   http://www.latenightsw.com/    CANADA  V8V-4M9
>
>  _______________________________________________
> 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
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Disabling NSToolbarItem label for view item in text only mode
      • From: Mark Alldritt <email@hidden>
References: 
 >Disabling NSToolbarItem label for view item in text only mode (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Disabling NSToolbarItem label for view item in text only mode
  • Next by Date: How do I obtain the default country?
  • Previous by thread: Disabling NSToolbarItem label for view item in text only mode
  • Next by thread: Re: Disabling NSToolbarItem label for view item in text only mode
  • Index(es):
    • Date
    • Thread