PDA

View Full Version : Modifier + Click on a Button...?


kletterget
06-13-2006, 07:41 AM
Does anyone know of a way to assign separate commands to a button for when the button is "CTRL+clicked", "ALT+clicked" or "Shift+clicked"?

I'm after a similar function to the shelfButton's "doubleClickCommand" flag...

cheers.

GennadiyKorol
06-13-2006, 08:57 AM
You can query currently pressed modifiers on runtime with getModifiers command.

Cheers:)

kletterget
06-13-2006, 10:02 AM
Aaaah thanks!

Works a real treat, that. I love this place. :)

CGTalk Moderation
06-13-2006, 10:02 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.