Re: NSButton Mouse Up/Down Events
Re: NSButton Mouse Up/Down Events
- Subject: Re: NSButton Mouse Up/Down Events
- From: Kyle Sluder <email@hidden>
- Date: Sat, 11 Apr 2015 19:00:56 -0500
On Sat, Apr 11, 2015, at 08:30 AM, Dave wrote:
>
> I’d like to be able to do the same action that NSButton does on Mouse
> Down on another object.
>
> For example:
>
> Button X Button Y
>
>
> Mouse down on Button X, causes it to be highlighted, I want this same
> action to occur on Button Y.
>
> Does anyone have any idea of the best way of doing this?
I'm not sure I understand what you're asking.
Are you saying you're implementing an NSView subclass, and what it to
react to mouse events the same way that NSButton does?
Can you just use an NSButton instead?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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