FROM : Glen Simmons
DATE : Thu Apr 21 23:13:17 2005
I'm having trouble with a toolbar button that won't disable while a
modal window is up. The button in question is on a floating toolbar in
my app that is just an NSToolbar attached to an NSPanel, which is set
to be a utility window and then resized to only show the toolbar. Works
fine until I put up the modal window. All of the buttons are disabled
except one and I can't figure out why. There are several buttons, some
of which have nil targets (first responder), some others have one of my
window controllers as their target, and this odd one has another window
controller as its target. It's the only one pointing at that window
controller, but I don't see anything special about it. Any ideas?
Thanks,
Glen
DATE : Thu Apr 21 23:13:17 2005
I'm having trouble with a toolbar button that won't disable while a
modal window is up. The button in question is on a floating toolbar in
my app that is just an NSToolbar attached to an NSPanel, which is set
to be a utility window and then resized to only show the toolbar. Works
fine until I put up the modal window. All of the buttons are disabled
except one and I can't figure out why. There are several buttons, some
of which have nil targets (first responder), some others have one of my
window controllers as their target, and this odd one has another window
controller as its target. It's the only one pointing at that window
controller, but I don't see anything special about it. Any ideas?
Thanks,
Glen
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

