• 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
Putting a NSForm into a NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Putting a NSForm into a NSPopUpButton


  • Subject: Putting a NSForm into a NSPopUpButton
  • From: James Housley <email@hidden>
  • Date: Tue, 8 Feb 2005 11:22:59 -0500

What I would like to do is have a NSPopUpBotton (in PullDown mode) then when clicked on make a form with a couple of field appear just below it, or a list of check boxes. From the archives I see that I can add menus, and MenuMadness uses images. I also want be able to control the text on the button when it is not displayed, setTitle: does seem to do this.

I have tried capturing NSPopUpWillPopUpNotification, and from that I can then draw my form right below it, but the PopUp still shows up. Can I make it disapper programatically?

This does work very well in conjunction with a NSButton, but I want it obvious that you click on it to bring down the form. I know I could capture an image and put it on the right edge of the button, but I want it to track the OS colors.

I have not looked too closely at the ClockCustomControl example, should I?

I have looked at the list archive, but not found anything there yet either.

Is this possible?  Pointers please.

Thanks,
Jim

--

/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
email@hidden      http://www.FreeBSD.org     The Power to Serve
email@hidden  http://www.TheHousleys.net
---------------------------------------------------------------------
Do not meddle in the affairs of dragons, for you are crunchy and taste
    good with ketchup.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Creating NSImage from multiple images while dragging
  • Next by Date: Re: Xcode CopyFolder Phase
  • Previous by thread: Re: put view between desktop and icons
  • Next by thread: preference search order
  • Index(es):
    • Date
    • Thread