Skip navigation.
 
mlClick & Hold on NSButton
FROM : August Trometer
DATE : Mon Apr 18 15:28:05 2005

I have an NSButton which, when clicked, rotates through several 
related settings for the UI. I have also attached a Contextual Menu 
to the button so that users can Control-Click and quickly go to their 
preferred option without having to rotate through all of them.

What I'd also like to do is activate the CM when the user clicks and 
holds on the button. Is there an elegant way to do this without 
subclassing NSButton?

Thanks!

August

Related mailsAuthorDate
mlClick & Hold on NSButton August Trometer Apr 18, 15:28
mlRe: Click & Hold on NSButton Ricky Sharp Apr 18, 17:15
mlRe: Click & Hold on NSButton M. Uli Kusterer Apr 21, 11:11
mlRe: Click & Hold on NSButton August Trometer Apr 21, 15:54