• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
popupbuttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: popupbuttons
      • From: Jörn Salewski <email@hidden>
    • Re: popupbuttons
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: It was working..
  • Next by Date: Re: It was working..
  • Previous by thread: RE: Icons in Help system
  • Next by thread: Re: popupbuttons
  • Index(es):
    • Date
    • Thread