Re: NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-02 Thread Michael Ash
On Thu, Apr 2, 2009 at 7:58 AM, Graham Cox graham@bigpond.com wrote: On 02/04/2009, at 12:55 PM, Rua Haszard Morris wrote: This seems like a weird hack, and makes me think I'm going about this the wrong way - is this a normal approach? I'm afraid so. I think the reason could be

Re: NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-02 Thread Rua Haszard Morris
Thanks for the suspicion-confirmation and docs pointers. I had seen the conceptual info about the 1 versus zero thing: my problem with that documentation is it says the first item is stored at 1 - which is written the wrong way around, in that the first item is stored at zero, but is

Re: NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-02 Thread Kyle Sluder
On Thu, Apr 2, 2009 at 5:18 PM, Rua Haszard Morris r.haszardmor...@adinstruments.com wrote: I had seen the conceptual info about the 1 versus zero thing: my problem with that documentation is it says the first item is stored at 1 - which is written the wrong way around, in that the first item

Re: NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-02 Thread Michael Ash
On Thu, Apr 2, 2009 at 5:18 PM, Rua Haszard Morris r.haszardmor...@adinstruments.com wrote: Thanks for the suspicion-confirmation and docs pointers. I had seen the conceptual info about the 1 versus zero thing: my problem with that documentation is it says the first item is stored at 1 - which

NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-01 Thread Rua Haszard Morris
I am using a pull-down NSPopUpButton for a little button which displays a little menu. The menu has some commands in it, i.e. it's not a selection menu, the title of the button just displays an icon, no title, no indication of a current item from the menu. I am calling (ahem, sending)

Re: NSPopUpButton pullsDown:YES and dummy first item - normal?

2009-04-01 Thread Michael Ash
On Wed, Apr 1, 2009 at 9:55 PM, Rua Haszard Morris r.haszardmor...@adinstruments.com wrote: I am using a pull-down NSPopUpButton for a little button which displays a little menu. The menu has some commands in it, i.e. it's not a selection menu, the title of the button just displays an icon, no