PDA

View Full Version : NSToolbar Help




Blakeasd
Nov 7, 2010, 06:52 PM
Hello everyone,
I am having some problems working with NSToolbar. I am trying to make a simple toolbar in Interface Builder, but my toolbar items are grayed out. Here is what I did:
Dragged an NSToolbar Instance to my Window
Dragged a toolbar item to the allowed items sheet
gave it the name Download
Dragged my toolbar item for the allowed items to my toolbar
When I looked at it it appeared grayed out. When I ran my app I couldn't click on the item. Does anyone know what's wrong?



Sydde
Nov 8, 2010, 02:22 PM
Hello everyone,
I am having some problems working with NSToolbar. I am trying to make a simple toolbar in Interface Builder, but my toolbar items are grayed out. Here is what I did:
Dragged an NSToolbar Instance to my Window
Dragged a toolbar item to the allowed items sheet
gave it the name Download
Dragged my toolbar item for the allowed items to my toolbar
When I looked at it it appeared grayed out. When I ran my app I couldn't click on the item. Does anyone know what's wrong?

Is the item connected to an IBAction in an instantiated object?

Blakeasd
Nov 8, 2010, 03:35 PM
Yes it is connected to an IBAction, but it's still grayed out :confused:
Please Help!

Blakeasd
Nov 9, 2010, 05:27 PM
Here is a picture of what I am seeing.
http://www.flickr.com/photos/54720422@N08/5162780224/in/photostream/

As you can see the Users pane I created is grayed out. Someone PLEASE help!