Re: Hide Toolbar not toggling to Show Toolbar
Re: Hide Toolbar not toggling to Show Toolbar
- Subject: Re: Hide Toolbar not toggling to Show Toolbar
- From: Gonzalo Castro <email@hidden>
- Date: Mon, 3 Dec 2001 18:23:04 -0500
My application has five nib files but the menu and the window that the
toolbar is attached to are in the MainMenu.nib file. The other four nib
files contain views which I add to (and remove from) my main window as
the user clicks on toolbar items. (Very similar to the System
Preferences application.)
To completely eliminate the multiple nib suspicion, I stripped my
project to only the one main nib file which has the main menu and the
window to which I attach the toolbar. It now looks A LOT like Apple's
"ToolbarSample". Except the Hide Toolbar text still doesn't toggle to
Show Toolbar.
Gonzalo
On Monday, December 3, 2001, at 05:47 PM, cocoa-dev-
email@hidden wrote:
From: Georg Tuparev <email@hidden>
Are you sure all objects are in the same nib?
gt
On Monday, December 3, 2001, at 10:30 PM, Gonzalo Castro wrote:
OK, I tried connecting the "Hide Toolbar" menu item to the
First Responder instead of my window. The menu text still
doesn't toggle to "Show Toolbar".