Re: NSPopUpButton Notifications
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