Re: Who is the sender?
Re: Who is the sender?
- Subject: Re: Who is the sender?
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 10 Jun 2002 17:57:11 -0700
On Monday, June 10, 2002, at 04:09 PM, Mike Engler wrote:
My app has two popupbuttons each of which contains a
"Custom..." menu item. The "Custom..." menu item
triggers a sheet when selected. In sheetDidEnd, I want
to find out which popupbutton triggered the sheet and
then add a new menu item to the appropriate
popupbutton. How do I determine which popUpButton
triggered the sheet (sent the action message)?
One option: set a tag for each popup, and passing that as the
contextInfo in the BeginSheet method -- it'll then be returned to you in
the call-back...
mmalc
_______________________________________________
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.