popupbuttons
popupbuttons
- Subject: popupbuttons
- From: April Gendill <email@hidden>
- Date: Wed, 20 Aug 2003 00:00:28 -0700
Is there a limit to the number of items that can be in a popup menu
that I am not aware of?
I can get up to 9 items in the menu, but at 10 i get this error
\*** Assertion failure in -[NSMenu
insertItemWithTitle:action:keyEquivalent:atIndex:],
Menus.subproj/NSMenu.m:476
2003-08-19 23:10:33.590 XShuffler[3403] An uncaught exception was raised
2003-08-19 23:10:33.591 XShuffler[3403] Invalid parameter not
satisfying: (index >= 0) && (index <= (_itemArray ?
CFArrayGetCount(_itemArray) : 0))
2003-08-19 23:10:33.591 XShuffler[3403] *** Uncaught exception:
<NSInternalInconsistencyException> Invalid parameter not satisfying:
(index >= 0) && (index <= (_itemArray ? CFArrayGetCount(_itemArray) :
0))
XShuffler has exited due to signal 5 (SIGTRAP).
[chooseWM insertItemWithTitle:aString atIndex:theIndex]; is the command
I'm using to insert the items
is there a way around this limit?
Thanks
april
_______________________________________________
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.