Hi All, From a different thread:
> On 8 Apr 2015, at 14:19, Uli Kusterer <[email protected]> wrote: > > I presume you mean to react both to mouseDown and mouseUp events? Not touch > gestures on the trackpad? You'd have to subclass NSButton and override > NSResponder's mouseDown: and mouseUp: methods. buttons on OS X support > neither multiple target/action pairs on one object, nor do they let you > control when they send their action. They will always send it on a mouseUp: > with the mouse inside the button. 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? Thanks a lot Dave _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
