Re: Menu-less popup buttons
Re: Menu-less popup buttons
- Subject: Re: Menu-less popup buttons
- From: Gwynne <email@hidden>
- Date: Thu, 20 May 2004 19:00:05 -0400
On May 20, 2004, at 5:56 PM, Daniel Todd Currie wrote:
Perhaps you should take a few steps back and very generally describe
what you are trying to do...
From what you have described, I would discourage doing what you want
to do. The reason is that a pop-down arrow in OS X universally means
that a menu will be presented when the arrow is clicked. Any
aberration from this principle will likely confuse the user.
Perhaps you simply want a disclosure triangle?
Create a Carbon window in IB. Create a popup menu, and resize it using
the left center handle to as small a width as possible. What you end up
with is the blue portion with the two arrows, and nothing else. It
still creates a menu when run. The same technique does not work with
Cocoa's popup button. I want to have a menu, I just don't want the
current item displayed. The ultimate effect I want is almost like a
combo box, but I want a popup menu, not a drop-down.
-- Gwynne, key to the Code that runs us all
Formerly known as Sailor Quasar.
Email: email@hidden
Web:
http://musicimage.plasticchicken.com/
_______________________________________________
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.