Re: NSPopUpButton: items with same title
Re: NSPopUpButton: items with same title
- Subject: Re: NSPopUpButton: items with same title
- From: "Ian G. Gillespie" <email@hidden>
- Date: Fri, 21 Feb 2003 15:29:37 -0800
Figured it out. Get the popup button's menu, then add NSMenuItems to
it and then set the popup button menu to the one that just had the menu
items added to it.
According to the documentation when adding items into and
NSPopUpButton, if two items have identical titles, one is removed.
Does anyone know how I can over-ride this? If I sub-class
NSPopUpButton, which methods should I over-ride?
I insert the company names or last names of people from Address Book
and sometimes these can be the same.
_______________________________________________
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.