• 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: NSPopUpButton Notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButton Notifications


  • Subject: Re: NSPopUpButton Notifications
  • From: MH <email@hidden>
  • Date: Tue, 22 May 2007 16:36:24 +0100

Correct! mouseUp was not being called.

The vagueness is partially due to inexperience, and thus trying to
state the problem in the right terms can sometimes be difficult. I
apologise for the frustration this may cause people who are trying to
help solve the many problems posted on this list.

I realised that my problem was a non-problem and that I was trying to
subclass NSPopUpButton to obtain a mouseUp notification when the
setAction method of NSControl from which it inherits provides the
desired results, i.e. the opportunity to query the PopUp for the index
of the selected item once the user has finished selecting.

I spent all day trying to resolve this, and finally ended up with one
line of code. Such is life.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSPopUpButton Notifications
      • From: "I. Savant" <email@hidden>
References: 
 >NSPopUpButton Notifications (From: MH <email@hidden>)
 >Re: NSPopUpButton Notifications (From: Sam Stigler <email@hidden>)
 >Re: NSPopUpButton Notifications (From: MH <email@hidden>)
 >Re: NSPopUpButton Notifications (From: MH <email@hidden>)
 >Re: NSPopUpButton Notifications (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Encoding infinite loops
  • Next by Date: Re: setDoubleAction
  • Previous by thread: Re: NSPopUpButton Notifications
  • Next by thread: Re: NSPopUpButton Notifications
  • Index(es):
    • Date
    • Thread