Re: Programmatically adding separator to NSPopupButton?
Re: Programmatically adding separator to NSPopupButton?
- Subject: Re: Programmatically adding separator to NSPopupButton?
- From: Dan Wood <email@hidden>
- Date: Fri, 18 May 2001 13:22:20 -0700
[[oMyPopupMenu menu] addItem:[NSMenuItem separatorItem]];
On Friday, May 18, 2001, at 11:23 AM, Matt Ridley wrote:
Hi folks,
I've been using NSPopupButton's addItemWithTitle: method to dynamically
construct a popup menu. I need to add a standard separator to the popup
menu, but I'm not sure how to do it. I tried using @"-" as the argument
for addItemWithTitle: but that just resulted in an item with "-" as its
title.
Could anyone help me with this?
--
Dan Wood
email@hidden
http://www.karelia.com/
http://www.bikealameda.org/
Mac OS X Developer: Online Resume:
http://www.karelia.com/resume.html