NSPopUpButton - odd behavior
NSPopUpButton - odd behavior
- Subject: NSPopUpButton - odd behavior
- From: Don Schaper <email@hidden>
- Date: Fri, 10 Jan 2003 09:27:57 -0600
I have a newbie Cocoa question that I'm hoping someone can answer.
I've written a (somewhat) simple fullscreen application. One window
filled with an NSImageView (a photoshoped user interface); with a
tabless NSTabView in it (invisible buttons to the side control the
showing of the tabs). The various NSTabViewItems contain NSImageViews,
NSTextViews, various sliders & assorted buttons. Everything was
created using InterfaceBuilder.
I use Brian Christensen's DisplayKit framework to enable fullscreen
capture of the main display. I do not use it to switch the screen's
resolution (the program adapts to whatever resolution it finds).
The program works. Every single element works exactly as it should;
with one crucial difference. When you click on any of the
NSPopUpButtons (located in the various NSTabViewItems), its menu does
not display (even though I've tested the program to make sure that the
menu items are present and can be changed programmatically). You can
select a menu item (and the program performs the appropriate action) -
you just can't SEE what you are doing (which makes for a very difficult
selection process, indeed!).
I have spent the last two weeks trying everything my limited experience
says to do; to no good affect.
Possible debugging info: If you set a NSPopUpButton to pulldown, then
when you select a menu item, it does not appear in the button. But...
If you leave it as a PopUp, the menu item selected appears in the
button. In both cases, the button darkens when clicked on, but no menu
appears. Also, it doesn't matter where in the window the button is
placed (so this isn't an issue with NSTabView).
Perhaps the PopUpButton menus are displaying correctly, but behind the
shielding level; where nobody can see them? If so, I don't know how to
fix this.
This program is so simple, I can't figure out what the problem is. I
have to believe that there is some fundamental 'thing' that I'm not
quite getting. I would greatly appreciate any suggestions any of you
might have to offer.....
_______________________________________________
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.