• 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: toggleToolbarShown - how to validate menu item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: toggleToolbarShown - how to validate menu item?


  • Subject: Re: toggleToolbarShown - how to validate menu item?
  • From: Donald Brown <email@hidden>
  • Date: Sat, 16 Feb 2002 07:59:02 -0600

on 2/16/02 7:38 AM, j o a r at email@hidden wrote:

> You should RTFM that states:
>
> "In Interface Builder, place the Hide Toolbar/Show Toolbar and Customize
> Toolbar menu items together in that order in the View menu and hook them
> up to First Responder. NSWindow validates both toolbar menu items and
> takes care of ensuring that the toggling between Hide Toolbar and Show
> Toolbar stays in sync with the actual state of the toolbar."
>
> (Note that in order to get this validation "for free" the menu items
> must be named exactly like Apple states in the paragraph above)

Apparently the View menu also must be named that. When I called it "Views",
my window didn't get that cool nib for showing and hiding the Toolbar.
(Spent a lot of time looking for the documentation about how to activate it,
got frustrated when it said it happened automatically).

Donald

--
Donald Brown
email@hidden
http://www.eamontales.com

We have met the enemy and he is us - Pogo
_______________________________________________
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.

References: 
 >Re: toggleToolbarShown - how to validate menu item? (From: j o a r <email@hidden>)

  • Prev by Date: Re: toggleToolbarShown - how to validate menu item?
  • Next by Date: outlineView
  • Previous by thread: Re: toggleToolbarShown - how to validate menu item?
  • Next by thread: How to change default font for NSTextView?
  • Index(es):
    • Date
    • Thread