• 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
Re: Making a popup button via pushbutton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a popup button via pushbutton?


  • Subject: Re: Making a popup button via pushbutton?
  • From: John Pannell <email@hidden>
  • Date: Sun, 24 Nov 2002 06:39:57 -0700

If I understand you correctly, NSPopUpButton has all the functionality you need - you shouldn't need the contextual menu if you know the user is clicking on a specific button. Check the docs for NSPopUpButton and specifically the -setPullsDown option.

HTH-

John P.

On Saturday, November 23, 2002, at 11:19 PM, email@hidden wrote:

Ok so i want to make a popup button via a pushbutton and a contexual menu how do i get the contexmenu to fire when the button is clicked?
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Making a popup button via pushbutton? (From: email@hidden)

  • Prev by Date: Re: placing windows behind finder icons
  • Next by Date: Re: An interesting localisation issue
  • Previous by thread: Making a popup button via pushbutton?
  • Next by thread: transparent views and window shadow interference
  • Index(es):
    • Date
    • Thread